Challenges

Same prompt. Different models. Who builds it best?

Doodle Jump

Endless vertical platform jumper.

Prompt
Create a complete Doodle Jump game as a single self-contained HTML file.

REQUIRED FEATURES:
1. Canvas-based rendering, portrait orientation (400x700 or viewport-scaled)
2. Player character: a small animated stick figure or cute blob with bouncing animation
3. Auto-jump: player constantly jumps upward when standing on a platform
4. Controls: tilt phone / left-right arrow keys / A-D / touch drag left-right
5. Horizontal movement is smooth, player wraps around screen edges (left edge → right edge)
6. Platforms generate procedurally as the player climbs:
   - 8-12 platforms visible on screen at a time
   - Platform types: green (normal, stationary), blue (moving left-right, 80px range), brown (breakable, crumbles after landing), orange (spring platform, launches 2x height)
   - Platform x-positions randomized within screen width
   - Platform y-spacing: 60-100px between platforms
7. Spring platform shows a visible spring/arrow indicator
8. Breaking platform has crack animation before crumbling
9. Vertical scrolling camera follows player upward
10. Score = highest Y position reached (displayed at top)
11. High score in localStorage
12. Background: gradient sky that transitions from day (light blue) to space (dark purple) as player climbs higher (based on score)
13. Collectible stars/coins randomly placed above platforms (bonus points)
14. Obstacles: occasional black platforms that kill on contact, moving enemies (flying saucers) at higher altitudes
15. Start screen: "DOODLE JUMP" title + bouncing character + "Press any key to start"
16. Game over: character falls off bottom, camera follows down, "GAME OVER" overlay with score, high score, "Press any key to restart"
17. Death animation: character spins and shrinks while falling

AUDIO:
18. Web Audio API: jump (short chirp), platform land (soft thud), spring (ascending whoosh), star collect (ding), break (crackle), death (descending), high score (celebration)

STYLING:
19. Cute, colorful cartoon style
20. Player has a face (eyes that look in movement direction)
21. Platforms have subtle gradient and shadow
22. Score displayed as clean overlay with star icon

CODE:
23. Single HTML file, vanilla JS, Canvas 2D
24. requestAnimationFrame with fixed-step update
25. Procedural generation: PlatformManager spawns/removes platforms off-screen