fertig-classic-games/server/scripts
Brian Fertig dd749bc570 feat: add Mahjong Match solitaire game with 6 layouts and guaranteed-solvable deals
- Add complete Mahjong Match game (MahjongLogic.js + MahjongMatchGame.js) with pure board model and Phaser UI
- Implement 6 layouts: Garden, Crossroads, Pyramid, Butterfly, Fortress, and classic Turtle (up to 144 tiles)
- Generate guaranteed-solvable deals by simulating reverse removal of free pairs
- Add tile matching logic using half-tile coordinate system for proper layer overlap detection
- Include 38 tile face images (bamboo, circle, pinyin characters, winds, dragons, flowers, seasons)
- Add hint system, shuffle functionality, timer, best time tracking per layout
- Register game in server registry and scene dispatch tables
- Add headless verification script for face set validation and random self-play testing
2026-06-11 16:23:17 -06:00
..
buildCommonWords.js
genMiniCrossword.js
genPuddingMonsters.js feat: overhaul Pudding Monsters scoring and add opponent videos 2026-06-08 22:24:12 -06:00
genRushHour.js
verifyBlockFighter.js Added Block Fighter game 2026-06-11 10:03:22 -06:00
verifyMahjongMatch.js feat: add Mahjong Match solitaire game with 6 layouts and guaranteed-solvable deals 2026-06-11 16:23:17 -06:00