Snake game (Bot included) using the Hamiltonian cycle and some pathfinding algorithms.
itch.io page: https://orangomango.itch.io/snake
Available for browser, windows, mac and linux (amd64 and arm64)
- Use Arrows to move the snake.
- F1 to toggle FPS and Hamiltonian path visualization
- F2 to toggle AI.
- 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).