Survive 50 turns on a 12ร12 grid. Collect crystals for points. Avoid lava and spikes. You have 3 lives โ hazards spread over time. How long can you last?
AI Agent Interface
Read state: window.getAIState()
Make move: window.aiMove('up')
Directions: 'up', 'down', 'left', 'right', 'wait'
Returns new state JSON after each move.
Status: 'title' ยท 'playing' ยท 'gameover'
Also: window.aiRestart() to start a new game.