Changes for version 0.02 - 2026-10-08
- Point at the card you mean: the arrow keys walk your hand and the line under the fan says what throwing it would leave you.
- The card you drew or took is marked, and so is the upcard when the opponent put it there.
- Fix: hotseat drew both hands on one screen. There is a hand-over between seats now.
- Fix: Terminal.pm POD declares =encoding utf8, so t/pod.t passes.
- Fix: there was no way to quit at a prompt.
- Fix: --level took any number, including ones with no bot behind it.
- Exit status: 0 if your seat won, 1 if you lost or stopped early.
Modules
gin rummy as a reusable engine
an opponent that can only see what a player can see
a card is an integer, and everything else is derived
the least deadwood a hand can be left with
one hand of gin rummy, from the deal to the knock
the seeded deal, and the stock as the tail of it
what the rules refuse, as a code
one player's cards
the sets and runs that can be made from a hand
lay-offs, and what a hand was worth
the bot's reasoning, with signatures that cannot cheat
gin rummy at a prompt