Resources

Helpful links and materials for the league.

Generated tiles

Loading tile generator… The library is large (~2.5 MB), so the first load may take a while.

Enable mahgen river-mode semantics.
Enter a mahgen sequence. Preview updates automatically.

Mahgen grammar reference

Use the following rules to write valid mahgen syntax.

Basic suits and notation

  • Use 1-9 for tile ranks.
  • Use p/s/m/z suffixes for pin, sou, man, honors.
  • Use 0 in suits as red five: 0p, 0s, 0m.
  • You can abbreviate consecutive tiles sharing one suffix.
123m
Preview loads after the generator is ready…
567p
Preview loads after the generator is ready…
0p0s0m
Preview loads after the generator is ready…
333z
Preview loads after the generator is ready…

Honor tiles and special z tiles

  • 1z-7z are East, South, West, North, White, Green, Red.
  • 0z means tile back (often used for concealed kan).
  • 8z and 9z are extended symbols supported by mahgen.
1234567z
Preview loads after the generator is ready…
0z11p0z
Preview loads after the generator is ready…
8z9z
Preview loads after the generator is ready…

Spacing

  • Use | to insert a visual gap of one-seventh tile width.
  • Use multiple | characters for wider gaps.
123p|456s|789m
Preview loads after the generator is ready…
123p||||456s
Preview loads after the generator is ready…

Open meld modifiers

  • Prefix _ rotates the next tile (called tile orientation).
  • Prefix ^ marks the next tile as added-kan overlap.
  • Prefix v marks red-five related added-kan overlap.
  • v0 means lower tile is red; v5 means upper tile is red.
_123m
Preview loads after the generator is ready…
77^7z
Preview loads after the generator is ready…
55v5p
Preview loads after the generator is ready…
5v05s
Preview loads after the generator is ready…

River mode differences

  • In river mode, _ means riichi, ^ means tsumogiri, v means riichi tsumogiri.
  • In river mode, | is not allowed.
  • At most one riichi marker (_ or v) is allowed.
  • Riichi does not automatically imply tsumogiri after it.
123^456_7m^8^9^1^2^4^5^8^7^2s (river mode)
Preview loads after the generator is ready…