Commit Graph

2 Commits

Author SHA1 Message Date
Brian Fertig 98a6cd56d9
Overhaul Mahjong into a full parlour experience with rich AI and helpers
- Rebuild the table scene: procedural room/table art, persistent tile sprites
  that slide and flip between wall, rack, river and melds, dice break ritual,
  call stamps, speech bubbles and score rolls
- Add MahjongAdvisor (shared by UI and AI): waits, unseen counts, discard
  advice, danger map, hand-pattern compass and opponent reads
- Strengthen the AI skill ladder: value awareness, one-suit commitment, wait
  pricing, defense/folding at skill 5, and explainable claims/discards for the
  coach
- Add house rules (rounds, min faan, faan cap, rob-kong, bonus tiles, stake),
  limit hands (Nine Gates, All Terminals, Four Kongs, Heavenly/Earthly, etc.)
  and robbing the kong in the engine
- New UI: settings/helpers dialogs, scoring slip, end-of-session screen with
  stats and score chart, tile tracker, danger shading, table log, tips
- Web Audio synths for clacks, wash, chime/gong plus rain/murmur ambience
- Expand verifyMahjong: limit-hand fixtures, rob-kong scenario, wall geometry,
  advisor brute-force checks, layout overlap checks, ledger-vs-engine self-play
  and an optional skill ladder benchmark
2026-11-25 22:05:25 -07:00
Brian Fertig 52c78ae86a Major Port 2026-06-28 19:27:29 -06:00