Egypt Frog Zuma: Classic RemakeAI · Claude Fable 5
Game information
AI generation prompt
Copy this prompt to study or reproduce the game.
"Egypt Frog Zuma: Classic Remake" AI Generation Prompt
Use: Give this prompt to an AI coding assistant to reproduce the game.
Please generate an Egyptian-themed Zuma match-3 web game, single file index.html, zero external dependencies (native Canvas + WebAudio + localStorage), logical resolution 960x540 (16:9 landscape) with decorative borders on narrow screens.
1. Core Gameplay
- Central stone frog launcher rotates to track mouse/touch, shoots colored balls into the chain rolling along the track.
- Matching >=3 balls of the same color eliminates them. If any ball rolls into the solar black hole at the end, game over.
- 20 Levels + Endless Mode. Win condition: Eliminate all balls (no more spawn and chain is empty).
2. Track System
- Track is represented as a dense list of parametric coordinates. Uses an arc-length table with binary search and interpolation.
- Four tracks based on progression: 1-4 Snake (spiral), 5-9 Double Branches (two independent chains, mirrored), 10-14 Spiral (2.35 turns), 15+ Crossed tracks. Endless mode uses Spiral.
- Track rendering: Thick borders (bronze 47px + dark groove 41px), pre-rendered to off-screen Canvas.
3. Ball Chain Physics
- Balls are sorted by arc length, diameter 40px. The pusher at the tail pushes the chain.
- Gap Attracting: If colors on both sides of a gap match, the front section pulls back at 300px/s. Merging triggers match-3 checking.
- Insertion: Launch ball hits chain ball, deciding to insert front or back based on movement vector dot product, pushing the contact section.
- Total balls must be <= 60% of track capacity.
4. Balances
- Ball speed starts at 0.8 cell/s, +0.2 every 3 levels (max 2.5). Color types start at 3, up to 6 by level 12.
- Shoot speed is 13 cells/s. Frog rotation speed is limited to 360°/s.
- Death zone triggers within 1 cell of black hole (shrink + swallow animation).
5. Scoring & Special Balls
- Match-3: +10 score, each extra ball +5. Combos x1.2^n. Shooting through gaps: +50.
- Special Balls: Wildcard Golden Ball, Bomb Ball, Slow Ball, Reverse Ball.
- Clean clear bonus +500, no-miss bonus +300.
6. Audio/Visuals & System
- Stone frog with eyes tracking cursor, mouth open animation when firing, forehead gem.
- Spheres with radial gradient and rotating patterns. Solar black hole with rotating corona.
- BGM in double harmonic minor scale. Sound effects for launching, matching, combos, and game over.
- Achievements, daily sign-in system, level select grid, local leaderboard saved via localStorage.