App Store link:
https://apps.apple.com/us/app/snake-puzzle-game/id1508917634
Hi, I'm Simon Strandgaard and this is my lab, where I experiment with coding a snake AI.
My goal is to make an AI that can play the snake video game at a superhuman level.
See my snake videos:
https://www.youtube.com/playlist?list=PLG29Vi-HcRXGTh8z_o1CQp17j0H7FslbP
The AI does a decent job at playing the classic snake video game.
I have created 4 bots that are very good at what they do.
The bots are quick in single player mode, because there is no opponent to consider. It typically takes less than half a second for a bot to make a move.
I'm getting mixed results with 2 bots battling against each other.
It takes between 1 second and 10 seconds for the bots to make their moves. I want to reduce this time, so that the snake bot can play against itself, and it's bearable to watch and debug why the bot made a particular decision.
You can play as a human against the superior AI and feel how it behaves. It's scary!
- Menu
Player 1
, selectHuman - Arrows
. - Menu
Player 2
, selectBot - Monte Carlo 2
. - Level selector, select the top-left item and hit the
Enter
key.
Arrow keys = controls the level picker.
Enter = begin playing.
Click with mouse = go back to the level picker.
Arrow keys = controls player1.
WASD keys = controls player2.
"Z" for undo.
Spacebar = pause/resume.
Enter = start over.
ESCape = quit game, useful during development for faster feedback cycle.