fertig-classic-games/server/scripts
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
..
buildCommonWords.js
genDotLink.js feat: add Dot Link puzzle game 2026-06-14 05:18:03 -06:00
genMiniCrossword.js
genPuddingMonsters.js
genRushHour.js
genZuma.js
verifyBejeweled.js
verifyBlockFighter.js
verifyCanasta.js
verifyCribbage.js
verifyDotLink.js feat: add Dot Link puzzle game 2026-06-14 05:18:03 -06:00
verifyGinRummy.js feat: add Gin Rummy card game with AI opponents 2026-06-14 20:51:15 -06:00
verifyJewelQuest.js feat(jewelquest): spell chaining and combat animations 2026-06-14 05:18:45 -06:00
verifyMahjong.js
verifyMahjongMatch.js
verifyMiniMotorways.js
verifyRummikub.js fix: correct container hitbox double-shift in Canasta & Cribbage 2026-06-14 16:23:44 -06:00
verifySlots.js
verifyZuma.js