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 feat(puddingmonsters): implement open-edge sliding mechanic 2026-06-12 00:52:36 -06:00
genRushHour.js
genZuma.js feat: add Zuma marble-shooter game with 20 levels 2026-06-12 00:15:51 -06:00
verifyBejeweled.js feat: add Bejeweled Blitz and Mini Motorways games 2026-06-12 13:52:27 -06:00
verifyBlockFighter.js
verifyCanasta.js feat: add Cribbage and Canasta single-player card games 2026-06-13 21:54:20 -06:00
verifyCribbage.js feat: add Cribbage and Canasta single-player card games 2026-06-13 21:54:20 -06:00
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 feat: add Bejeweled Blitz and Mini Motorways games 2026-06-12 13:52:27 -06:00
verifyRummikub.js fix: correct container hitbox double-shift in Canasta & Cribbage 2026-06-14 16:23:44 -06:00
verifySlots.js Added Slot Machines 2026-06-12 19:42:27 -06:00
verifyZuma.js feat: add Zuma marble-shooter game with 20 levels 2026-06-12 00:15:51 -06:00