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. |
||
|---|---|---|
| .. | ||
| mahjong | ||
| originals | ||
| shift | ||
| slots | ||
| tutorial-images | ||
| background-casino.png | ||
| background-jewelquest.png | ||
| background-jewelquest.psd | ||
| background-menu.png | ||
| background-room.png | ||
| cardbacks.png | ||
| cardbacks.psd | ||
| catan-pirate.png | ||
| catan-robber.png | ||
| catan-special-cards.png | ||
| catan-special-cards.psd | ||
| catancards.png | ||
| catancards.psd | ||
| catantiles.png | ||
| catantiles.psd | ||
| dominion-cards.psd | ||
| dominion-prosperity.png | ||
| dominion-prosperity.psd | ||
| dominion-tokens.png | ||
| dominion-tokens.psd | ||
| dominioncards.png | ||
| forbiddenisland-cards.png | ||
| forbiddenisland-cards.psd | ||
| forbiddenisland-tiles.png | ||
| forbiddenisland-tiles.psd | ||
| game-icons.png | ||
| game-icons.psd | ||
| gofish-cards.png | ||
| gofish-cards.psd | ||
| labyrinth-cards.png | ||
| labyrinth-cards.psd | ||
| labyrinth-tiles.png | ||
| labyrinth-tiles.psd | ||
| labyrinth-treasures.png | ||
| labyrinth-treasures.psd | ||
| main-title.png | ||
| monopoly-cards.png | ||
| monopoly-cards.psd | ||
| monopoly-pawns.png | ||
| oldmaid-cards.png | ||
| oldmaid-cards.psd | ||
| opponents.png | ||
| opponents.psd | ||
| playfield-felt-blue.png | ||
| playfield-felt-green.png | ||
| playfield-felt-red.png | ||
| playfield-wood-cherry.png | ||
| playfield-wood-dark.png | ||
| playfield-wood-english.png | ||
| playfield-wood-light.png | ||
| splendor-cards.png | ||
| splendor-cards.psd | ||
| splendor-gems.png | ||
| splendor-gems.psd | ||
| stratego-pieces.png | ||
| stratego-pieces.psd | ||
| tab-icons.png | ||
| tab-icons.psd | ||
| tickettoride-cards.png | ||
| tickettoride-cards.psd | ||