Skip to content

Mychecksdead/snake-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake-solver

A simple snake game with p5.js and a solver with python. (Actually sketch.js solves it.)

vokoscreenNG-2022-06-23_17-20-29

In sketch.js, it both operates the snake game and the solver. It uses simple BFS.

Py script first takes screenshot and then recovers position of food. Then a bread-first search is done for finding path. After all a simple while loop for pressing the buttons is processed.

About

A simple snake game with p5.js and a solver with python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published