https://github.com/orangomango/snake
Snake game (Bot included) using the Hamiltonian cycle and some pathfinding algorithms.
https://github.com/orangomango/snake
ai java javafx snake webfx
Last synced: 22 days ago
JSON representation
Snake game (Bot included) using the Hamiltonian cycle and some pathfinding algorithms.
- Host: GitHub
- URL: https://github.com/orangomango/snake
- Owner: OrangoMango
- License: mit
- Created: 2023-01-25T18:49:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-05T13:17:03.000Z (over 1 year ago)
- Last Synced: 2024-01-05T14:30:46.014Z (over 1 year ago)
- Topics: ai, java, javafx, snake, webfx
- Language: Java
- Homepage: https://orangomango.itch.io/snake
- Size: 979 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Perfect snake AI
Snake game (Bot included) using the Hamiltonian cycle and some pathfinding algorithms.## Download
itch.io page: https://orangomango.itch.io/snake
Available for browser, windows, mac and linux (amd64 and arm64)## Keys
* 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/resumeThe first slider changes the cell size (Max: small playground) and the second one changes the tick time (in milliseconds, Max: slow game).
