tuxracer / cars-rl

Reinforcement Learning (DQN) from scratch with zero dependencies applied to a simple car driving game

Home Page:https://desi-ivanov.github.io/cars-rl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cars-rl

Reinforcement Leanring (DQN) from scratch with zero dependencies applied to a simple car driving game. Check it out here!

demo.mp4

Details

The agent has 3 inputs which define the vicinity of walls to the sides of the car, each in the range of [0, 1]. At each step the reward is:

  • 1 if the car reaches a new point on the map (the map is divided into a grid of 10x10 cells)
  • 0.01 if the car does not crash
  • -10 if the car crashes

References

This project is heavily based on:

License

MIT

About

Reinforcement Learning (DQN) from scratch with zero dependencies applied to a simple car driving game

https://desi-ivanov.github.io/cars-rl

License:MIT License


Languages

Language:TypeScript 98.1%Language:HTML 1.6%Language:JavaScript 0.3%