Skip to content

sivansh11/snake-via-Q-Learning-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

-Use human_player.py for playing snake game by yourself, the controls are a bit non intuative as in insted of absolute directions (up down etc) the directions are relative to the direction the player is currently moving in (Easy to understand).

-You wont be able to use the run.py file if you dont have q.p file.

-Incase you dont have q.p file you can use train.py to train the q learning model for n episodes (recommended 10,000 episodes for good learning) and then you may run run.py.

Note: you need pygame for this project to run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages