Changes for version 0.03 - 2026-10-11
- Add Game::Backgammon::Terminal->run(@argv), which returns the exit status
- Terminal's game loop is now start, not run
- A bad option exits 2 with the usage on STDERR, not 255
- A game lost against the bot exits 1
Modules
backgammon as a reusable engine
the position, and the only thing that knows which way round it is
the backgammon opponent
the rolls, as a pure function of the seed
what the rules refuse, with a code
one checker moving once
standard notation, parsed and printed
who won, by how much, and why it stopped
the legal turn
how many of the 36 rolls reach a point
the game at a prompt
the dice, and the moves chosen for them