fertig-classic-games/server
Brian Fertig 8a79b6909d feat: add Gin Rummy card game with AI opponents
Implement a fully playable Gin Rummy game with Phaser-based UI,
pure logic engine, and heuristic AI (skill levels 1-5).

Features:
- Complete Gin Rummy rules: draw, discard, knock, gin, layoff, scoring
- Meld detection with optimal deadwood minimization
- 2-4 player support with AI opponents
- Drag-to-reorder hand, visual meld highlights, turn indicators
- Round and game-over overlays with score tracking
- Headless verification script with unit tests and self-play simulation

Files added:
- public/src/games/ginrummy/GinRummyData.js (card helpers, layout, constants)
- public/src/games/ginrummy/GinRummyLogic.js (deterministic game engine)
- public/src/games/ginrummy/GinRummyAI.js (AI decision making)
- public/src/games/ginrummy/GinRummyGame.js (Phaser scene)
- server/scripts/verifyGinRummy.js (headless test harness)

Also updates game-icons/opponents assets and registers the game
in the server registry and game room scene dispatcher.
2026-06-14 20:51:15 -06:00
..
auth feat: overhaul visual theme to vintage gold and update UI components 2026-05-16 21:04:16 -06:00
data Crossword Changes and added Tectonic 2026-06-05 23:24:11 -06:00
db feat: add Rush Hour puzzle game with logic category 2026-06-08 17:57:24 -06:00
email refactor: remove multiplayer and Socket.IO in favor of single-player AI games 2026-05-20 18:57:41 -06:00
games feat: add Gin Rummy card game with AI opponents 2026-06-14 20:51:15 -06:00
history refactor: remove multiplayer and Socket.IO in favor of single-player AI games 2026-05-20 18:57:41 -06:00
profile Added several opponents and Texas Hold Em 2026-05-16 11:59:33 -06:00
puzzles feat: overhaul Pudding Monsters scoring and add opponent videos 2026-06-08 22:24:12 -06:00
scripts feat: add Gin Rummy card game with AI opponents 2026-06-14 20:51:15 -06:00
words feat: add Kiitos word game with 3-round progression and AI 2026-06-07 11:00:17 -06:00
config.js refactor: remove multiplayer and Socket.IO in favor of single-player AI games 2026-05-20 18:57:41 -06:00
index.js feat: add Rush Hour puzzle game with logic category 2026-06-08 17:57:24 -06:00