Licenses & sources
Everything on this site is either original work or permissively licensed. Here is the full accounting, so it can be verified before launch.
The games
Every game is self-hosted and self-authored — no third-party game code, and no iframes. Three shared engines power them:
- Mahjong Solitaire — solitaire engine, MIT.
- Mahjong Connect — connect engine, MIT.
- Mahjong Dimensions — dimensions engine, MIT.
- Mahjong Dark Dimensions — dimensions engine, MIT.
- Shanghai Mahjong — solitaire engine, MIT.
- Butterfly Kyodai — connect engine, MIT.
- Mahjong Tower — solitaire engine, MIT.
- Celtic Mahjong — solitaire engine, MIT.
- Mahjong Gardens — solitaire engine, MIT.
The solitaire, connect, and dimensions (3D) engines, tile rendering, layouts, and all game UI were written from scratch for this site.
MIT (this repository)
A note on matching. For a clear casual experience, tiles here match only when they show the same face. Traditional mahjong lets any flower match any flower (and any season any season); we intentionally simplified that rule. The tile set is otherwise the classic three suits, four winds, three dragons, and the flower and season honors.
Fonts & libraries
React framework (App Router).
MIT
UI library.
MIT
Utility CSS.
MIT
Display serif (headings, tile glyphs). Self-hosted via next/font.
SIL Open Font License 1.1
Body & UI typeface. Self-hosted via next/font.
SIL Open Font License 1.1
Adding a third-party game later
If a future game has no good open-source option and must be embedded, it should be lazy-loaded in an iframe so it never blocks first paint, and its name and license added to this page and the README before launch.