Snake Arena: You vs 4 AIsAI · Claude Fable 5
Game information
AI generation prompt
Copy this prompt to study or reproduce the game.
"Snake Arena: You vs 4 AIs" AI Generation Prompt
Use: Give this prompt to an AI coding assistant to reproduce the game.
Please generate a Snake AI battle web game, single file index.html, zero external dependencies (native Canvas/DOM + WebAudio + localStorage), landscape orientation, responsive design for mobile and desktop.
1. Core Gameplay
- Survival arena: You vs 4 active AI-controlled snakes.
- Collect food pellets to grow, speed up at the cost of length.
- Colliding head-first with another snake's body results in elimination.
- Real-time leaderboard and local high scores.
2. Controls
- PC: Arrow keys or mouse cursor to steer.
- Mobile: Swipe to steer.
3. General Requirements
- Local operation, offline ready.
- Audio and music controls.
- Screen scaling adaptation.