An autonomous driving experiment in Trackmania where we trained a model on frame-by-frame gameplay screenshots. The goal was for the model to learn from visual input and predict driving controls so the car could try to drive around the track by itself.
The challenge was to make a car drive in Trackmania using only what the model could see from game screenshots. Instead of manually coding every turn, the model had to learn patterns from frame-by-frame visual data and connect those frames to driving behavior.
We captured gameplay frames, prepared them as training data, and built a computer vision model that learned from the screen image sequence. The trained model then used incoming frames to decide steering and driving actions, allowing the car to attempt autonomous laps.
2025
~6–8 weeks
Train a model to drive in Trackmania from gameplay screenshots.
Group project by a team of 3. We worked on the dataset, model training, automation flow, and testing together.
VS Code, Jupyter, GitHub
Gameplay was captured frame by frame so the model could learn from the same view a driver sees.
The model used screenshots to predict driving actions such as steering through the track.
After training, the system was tested by letting the model attempt to drive on its own.
Recorded Trackmania gameplay as frame-by-frame screenshots for the training dataset.
Fed the gameplay frames into a vision model so it could learn what driving decisions matched the road view.
Connected the trained model back to the game so the car could attempt to drive by itself.