Racing Game for Reinforcement Learning of AI
A Racing Game that can be played by Humans and an AI Agent (e.g. to train using Reinforcement Learning).
Want to watch an AI learn to drive? Click here: https://www.youtube.com/watch?v=EVZk1o4GY1w
Please note:
- The score is calculated as traveled distance minus simulation steps.
- In case the score is less than -25, the simulation will stop (only for AI-controlled case, not human-controlled).
- In case you crash, the simulation will stop.
- In case you reach more than 14000 scores, the game will stop.
- Keyboards only allow binary input. That is why I implemented a steering wheel dynamic, that will slowly increase/decrease the steering angle depending on the direction you steer. If you do not provide steering input, the steering wheel will return to zero (i.e. straight driving).
Press Escape (ESC) to delete the vehicle(s)
Press Space (SPACE) to add/reset the vehicle(s)
Use Arrow Keys (UP, DOWN, LEFT, RIGHT) to control the vehicle
Status | Released |
Platforms | HTML5 |
Author | jSchmalhofer |
Genre | Racing |
Tags | 2D, Godot, reinforcement-learning |
Leave a comment
Log in with itch.io to leave a comment.