2D karting with Deep Q-Learning

2D karting with Deep Q-Learning

https://reddit.com/link/1rz4oc9/video/th21d838z8qg1/player

I wanted to try a project with approximate Q-learning, but I ended up down a Q learning Rabbit hole.

I decided to make a 2D karting game in pygame. As you might expect, I failed to teach the AI properly at first (also because of bad reward system).

Eventually I got it working with Rainbow DQN which was really interesting to learn about!

In the video you can see me racing the AI (ghost car) and the AI car actually beating me in the last corner. The game is definetly more difficult than it looks!

Overall, it was a really fun project and I recommend you try something similar if you are into Q-learning.

For more details, I made a YouTube video covering the project!

I build an AI to beat me at racing (Reinforcement learning)

Github (Warning: ugly code): https://github.com/Cain15/2D_Karting

submitted by /u/RepulsiveRevenue8086
[link] [comments]

Liked Liked