feat: game state, persistence, UI framework (Alpine+Tailwind), economy system (#10, #11, #12)

- Game state with localStorage save/load + reset (type DELETE to confirm)
- Alpine.js + Tailwind CSS + Lucide UI overlay (HUD bar, shop modal, settings, toasts)
- Economy: fish prices, tank tier costs/capacities, rarity multipliers, sell value formula
- Genetic system: hue/saturation/size/speed/pattern/rarity/gender + breeding inheritance
- Fish selection via raycaster (click fish = select, click empty = drop food)
- Buy/Sell/Breed/Upgrade actions wired to game state
This commit is contained in:
2026-10-07 12:38:18 +00:00
parent 6ef28b6dbd
commit eb50f3b56b
13 changed files with 1735 additions and 67 deletions
+3
View File
@@ -9,10 +9,13 @@
"preview": "vite preview"
},
"dependencies": {
"alpinejs": "^3.17.4",
"three": "^0.182.0"
},
"devDependencies": {
"@tailwindcss/vite": "^4.3.3",
"@types/three": "^0.182.0",
"tailwindcss": "^4.3.3",
"typescript": "^5.8.3",
"vite": "^7.0.0"
}