Mahjong
Four-player Chinese mahjong against three AI players, at a walkable 3D table.
A 3D recreation of an automatic mahjong table in a sunlit room. You play a full game of four-player Chinese mahjong against three computer opponents, or stand up and walk around the room while the game carries on. It runs entirely in the browser: no install, no server, no accounts.
The rules engine covers the full 144-tile set with flowers, chi, peng, gang and hu, and scores every hand with an itemised fan breakdown. The AI players discard by shanten and tile acceptance, play defensively late in a hand, and claim discards when it helps them.
Every texture is drawn in code, and the engine is tested under Node with unit tests and a 300-game self-play soak.




