Skip to content

Implemented a Q-learning algorithm to learn the game snake

Notifications You must be signed in to change notification settings

RohilH/Q-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Q-Learning

Implemented a Q-learning algorithm to learn the game snake Code can be run by running python snake_main.py Two algorithms are included, simply comment out the existing code in the act function (inside agent.py) and uncomment the code underneath. The first algorithm implements Temporal Difference Q-Learning, while the second algorithm uses SARSA Q-Learning.

About

Implemented a Q-learning algorithm to learn the game snake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages