linesight

linesight

AI Plays Trackmania with Reinforcement Learning

Stars: 475

Visit
 screenshot

Linesight is a reinforcement learning project focused on advancing AI capabilities in the racing game Trackmania. It aims to push the boundaries of AI performance by utilizing deep learning algorithms to achieve human-level driving and beat world records on official campaign tracks. The project provides an interface to interact with Trackmania Nations Forever programmatically, enabling tasks such as sending inputs, retrieving car states, and capturing screenshots. With a strong emphasis on equality of input devices, Linesight serves as a benchmark for testing various reinforcement learning algorithms in a challenging and dynamic gaming environment.

README:

Linesight

Trackmania AI
Linesight documentation

Discord Discord

Linesight

Linesight is a reinforcement learning project seeking to push what can be done with AI in Trackmania as far as possible.

Trackmania

Trackmania is a racing game that sacrifices some of the realism of sim-racers for a wide variety of track types with all kinds of tricks like wall riding, stunt jumps and wallbangs. Furthermore, Trackmania was designed for equality of input devices which means that keyboard inputs are a viable way to play and therefore that discrete input algorithms like DQN can be applied. In other words, Trackmania is a deep game which can serve as a benchmark to work on any RL algorithm.

Trackmania Interface

Our work, combined with the efforts of donadigo and Kim of the Trackmania Interface team allow interfacing to Trackmania Nations Forever. Allowing you to programmatically send inputs, get car states, get screenshots, etc... This part of our codebase could be useful to other RL projects.

Results

To our knowledge, Linesight is by far the most advanced AI in Trackmania. It was the first to demonstrate human-level driving around May 2023, with Wirtual playing against it in June. In May 2024, Linesight was the first to showcase beating world records on official campaign tracks.

Now that the project is open-source, can you help make it even stronger?

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for linesight

Similar Open Source Tools

For similar tasks

For similar jobs