Mahjong Engine
Learn mahjong, then analyze your hands.
Started as a question: can a fast static evaluator, the kind chess engines use before deep search, say something useful about a game built on hidden information? It grew into a study tool: a pregame flow and live play for learning the game, with analysis that ranks viable target hands and suggests a discard. It covers NMJL and Chinese rules. Not in active development, but one I enjoyed making.
highlights
- ▸Live play for learning, with chow claims under Chinese rules
- ▸Ranks viable target hands and suggests a discard
- ▸NMJL and Chinese rulesets on a ruleset-agnostic core
built with
- TypeScript
- SvelteKit
- Vitest