Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
1323いいね 41,113 views回再生

AI plays the new Trackmania game (2020)

A new Trackmania game was released on July 1st. I've adapted the AI from the previous video to drive in this new edition ! Sorry about my accent, English and French subtitles are available if you want :)

Some more details about the AI :
I'm using artificial neural network, a machine-learning algorithm. The network has 16 inputs (15 wall distances + speed) and 4 outputs (forward, backward, left, right). The model in this video has 2 hidden layers (64 + 16 neurons). I tried other configurations and it didn’t change much. In Trackmania² stadium, I used image analysis to retrieve the speed value in the bottom right corner of the screen. It’s not possible anymore in the new game. Instead, I'm using Openplanet to access directly the game’s API. This way, I can get other data such as gear. I tried to add this additional information as input data of the model, but it doesn’t improve the AI.
I recorded 50.000 data lines in order to train the model. For each frame, I can use its mirrored version to double the amount of data. So I used 100.000 data records in total (90.000 for training + 10.000 for validation).
My program captures about 13 frames per second.

Thanks to the Openplanet community for the help ! (https://openplanet.nl/)

Contact :
Discord - yosh_tm
Twitter -   / yoshtm1  

Music :
1) Airtone - Forgottenland
2) Meydän - Synthwave Vibe
3) His Boy Elroy - Revolve

コメント