Skip to content

ved-patel226/tmnf-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trackmania AI

This project features an AI agent designed to play Trackmania, using computer vision and reinforcement learning techniques.

Note: This project drew heavy inspiration from Linesight.

Model

I chose a QR-DQN because it handles unpredictability well and can make riskier choices when the strategy calls for it.

Inputs

  • 120x90 grayscale frame of the game (1, 90, 120)
  • Current speed (1,)
  • Yaw (1,)
  • Velocity (3,)

Output

The model outputs an integer from 0 to 5, each representing a discrete action:

Value Action Controls
0 Forward left: False, right: False, accelerate: True, brake: False
1 Forward left left: True, right: False, accelerate: True, brake: False
2 Forward right left: False, right: True, accelerate: True, brake: False
3 Nothing left: False, right: False, accelerate: False, brake: False
4 Nothing left left: True, right: False, accelerate: False, brake: False
5 Nothing right left: False, right: True, accelerate: False, brake: False

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published