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

27 lines
752 B
JSON

{
"name": "gem-catcher",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "npx playwright test",
"test:headed": "npx playwright test --headed",
"test:ui": "npx playwright test --ui",
"test:update-snapshots": "npx playwright test --update-snapshots",
"verify": "node scripts/verify-runtime.mjs",
"validate": "node scripts/validate-architecture.mjs",
"iterate": "node scripts/iterate-client.js --url http://localhost:3000"
},
"dependencies": {
"phaser": "^3.90.0",
"@strudel/web": "^1.3.0"
},
"devDependencies": {
"vite": "^7.3.1",
"@playwright/test": "^1.58.0",
"@axe-core/playwright": "^4.11.0"
}
}