Changes for version 0.04 - 2026-10-13
- Add options, the fields a launcher offers before a game
- The keys, the screen and the tile picker are Game::Terminal::Kit's
- Requires perl 5.14
- An unset NO_COLOR or an empty one leaves colour on; any other value turns it off
- Shift-tab walks the rack to the left
- Fix: after t, the move you typed was not echoed
Documentation
play Mahjong against three bots at the keyboard
Modules
Mahjong, the four-player tile game, under the Chinese Official competition rules
a seat played by the machine, at a level
every way a hand is complete, and what it waits for
a refused move, as an object and not an exception
one scoring element: its number, points, sentence and checker
the eighty-one scoring elements, as data with a checker each
one seat's tiles: the counts, the melds, the flowers
a chow, a pung or a kong
the hand strings the tests and the terminal speak
the settlement of a hand, and the standings of a game
the state of one game: the deal, the turns, the window, the sixteen hands
the points of a winning hand under the five principles
the three rungs of the bot, reading a view and nothing else
how far a hand is from ready, and what it accepts
what a winning hand scored, and how
a game against three bots at the keyboard
the forty-two kinds, and the set of 144
the seeded order, the deal, the front and the back