← Back

Snake Arena: You vs 4 AIsAI · Claude Fable 5

Game information

Compete against 4 AI snakes in a battle for survival: consume food to grow, cut off opponents to defeat them, and climb the leaderboard.

ModelClaude Fable 5
TypeSnake AI Battle
ResolutionResponsive
OrientationLandscape
PlatformsH5 Mobile / PC Web
StoragelocalStorage
AuthorAI Game Studio
Date2026-07-03
PCArrow keys or mouse to steer
MobileSwipe to steer

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.