Skip to content

apssouza22/reinforcement-learning-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reinforcement-learning-snake

This is a simple implementation of the snake game using reinforcement learning. The snake is trained using the Q-learning algorithm. The snake learns to play the game by itself. The snake is rewarded when it eats the food and penalized when it hits the wall or itself.

The entire project is implemented in vanilla JavaScript. No libraries are used for the neural network or the game itself. The project is built from scratch.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published