Snake
Perfect snake AI
Snake game (Bot included) using the Hamiltonian cycle and some pathfinding algorithms.
Source code: https://github.com/OrangoMango/Snake
Keys
Use Arrows to move the snake.
- F1 to toggle FPS and Hamiltonian path visualization (I in the browser version)
- F2 to toggle AI. (H in the browser version)
- O/P to change the snake's speed
- SPACE to pause/resume
The first slider changes the cell size (Max: small playground) and the second one changes the tick time (in milliseconds, Max: slow game).
Download
Install instructions
Linux
Download the .deb file and install it with this command
With sudo:
sudo dpkg -i file-name.deb
Without sudo:
dpkg -x file-name.deb .
Windows
Wrapper:
- Download and extract the zip file
- Double click on the exe file (be sure that there is a "jre" directory in the same location of the exe file).
Everything else
- Download the correct file for your architecture
- Double click on the executable file
Leave a comment
Log in with itch.io to leave a comment.