NAME

xiangqi - Chinese chess on a terminal

SYNOPSIS

xiangqi                      # play the default bot from the opening
xiangqi --level 0 --ascii    # the weakest rung, Latin letters
xiangqi --ucci               # speak UCCI instead of drawing anything

DESCRIPTION

A front end and nothing else: every decision it makes is an option, and the board and the protocol both live in Game::Xiangqi::Terminal.

--level takes either a rung index into @Game::Xiangqi::Bot::LADDER or a node budget outright, and tells them apart by size: nobody types 8000 when they mean "level two". The engine is bounded in nodes and never in seconds.

--seed takes anything up to thirty-two bytes and pads it to the thirty-two the game requires, so --seed mine works rather than being refused.

EXIT STATUS

0   you won, or the game drew, or you quit
1   you lost
2   a bad option

SEE ALSO

Game::Xiangqi, Game::Xiangqi::Terminal