Changes for version 0.03 - 2026-10-11

  • A move is now chosen with the arrow keys
  • FIX: --ansi could only be turned on. --no-ansi now turns it off, so the uncoloured board no longer needs NO_COLOR in the environment.
  • FIX: --level took a number between the last rung and the smallest budget and read it as a budget: --level 4 meant four nodes. It is refused now, naming both ranges.
  • FIX: a move the bot offered and the game refused was ignored, and the loop then asked the same bot the same question for ever.

Documentation

Chinese chess on a terminal

Modules

xiangqi, Chinese chess
the opponent, bounded in nodes
the xiangqi board, in C, with nothing that judges a move
a flagged refusal, returned and never thrown
ICCS coordinates, and WXF for the reader
the board on a terminal, and UCCI