The task
Write Snake in a single HTML file. Arrow-key control, food spawns at random empty cells, the snake grows on eating, game over on hitting itself, wall behavior selectable (wrap vs. collide), score and persistent high score via localStorage, and a restart. Smooth grid-timed movement.
Ran the full Idapt agent loop: 10 steps · 9 tool calls · deployed a live app · 1 file.
Remix this prompt