Files
rshtirmer aede0989d2 feat(gem-catcher): scaffold gem-catcher game from phaser-2d template
Implement the complete Gem Catcher game with all core mechanics:
- Player basket moves horizontally at bottom of screen (arrow keys + touch)
- Gems rain from the sky; catch them for +1 score
- Skulls also fall (15% chance); catch one to lose a life
- 3 lives with heart indicator, game over at 0 lives
- Difficulty ramp: every 10 points increases fall speed and spawn rate
- Night sky gradient background theme
- GameState tracks lives, difficulty, isMuted
- EventBus wired with GEM_CAUGHT, SKULL_CAUGHT, LIFE_LOST, DIFFICULTY_UP
- render_game_to_text() includes lives, difficulty, gem/skull counts
- GameOverScene preserves createButton() pattern, uses gameState.reset()
- Touch input: left half = move left, right half = move right

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-23 15:41:49 -05:00

4 lines
28 B
Plaintext