Introduce a complete Craps implementation featuring a Phaser-based UI, deterministic game logic, and heuristic AI players. Key changes: - CrapsLogic.js: Pure-state rules engine handling Pass/Don't Pass, Place, Come/Don't Come, Field bets, odds, and full resolution logic. - CrapsAI.js: Stateless AI personalities (conservative, balanced, aggressive, gambler) derived from player names to drive betting behavior. - CrapsGame.js: Phaser scene with animated dice rolls, chip tray, dynamic bet zones, portrait-based opponents, and persistence via profile API. - Wire Craps into the game registry, main scene loader, and GameRoom dispatcher. |
||
|---|---|---|
| .. | ||
| auth | ||
| db | ||
| games | ||
| history | ||
| profile | ||
| config.js | ||
| index.js | ||