Files
rshtirmer ac482c0f78 feat(trump-vs-biden): scaffold 3D arena battle game
Implement the complete scaffold for Trump vs Biden 3D arena battle:

- Arena: 20x12 dark platform with glowing edges, atmospheric lighting/fog
- Player (Trump): Left/right movement, projectile throw with cooldown,
  gesture animations (point/clap/dance/twist), placeholder orange box
- Opponent (Biden): AI-controlled sinusoidal movement with random offset,
  periodic projectile throws aimed at player, placeholder blue box
- Projectiles: Glowing spheres with point lights, sphere-vs-sphere collision
- ProjectileManager: Spawn/update/collision pool with PLAYER_HIT/OPPONENT_HIT events
- Health system: 5 lives, hearts HUD, game over on depletion
- Scoring: Points per hit, combo tracking with timeout, combo bonus at 3+
- Input: Keyboard (A/D + Space) + mobile touch (left/right half + tap)
- HUD: Health hearts, score, combo counter below Play.fun safe zone
- Game over overlay with score/best, restart via button/Space/Enter
- Full EventBus events including spectacle hooks for visual polish step
- render_game_to_text() and advanceTime() for AI agent testing
- Design brief with expression maps for both characters

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-25 18:43:16 -05:00

14 lines
421 B
JSON

[
{"buttons":["ArrowRight"],"frames":20},
{"buttons":["space"],"frames":3},
{"buttons":["ArrowLeft"],"frames":25},
{"buttons":["space"],"frames":3},
{"buttons":["ArrowRight"],"frames":15},
{"buttons":["space"],"frames":3},
{"buttons":["ArrowLeft"],"frames":20},
{"buttons":["space"],"frames":3},
{"buttons":["ArrowRight"],"frames":10},
{"buttons":["space"],"frames":3},
{"buttons":[],"frames":80}
]