NAME
shogi - Japanese chess on a terminal
SYNOPSIS
shogi # play the bot from the opening, as Black
shogi --side w --level 0 # play White against the weakest rung
shogi --handicap rook # the bot gives a rook and moves first
shogi --ascii # SFEN letters instead of kanji
shogi --usi # speak USI to a shogi GUI, draw nothing
DESCRIPTION
A front end and nothing else: the board and the picker live in Game::Shogi::Terminal and the protocol in Game::Shogi::USI.
--level takes either a rung index into @Game::Shogi::Bot::LADDER or a node budget outright, and tells them apart by size. A number between the two is refused rather than guessed at: the ladder has four rungs and its least budget is 400 nodes, so --level 4 to --level 399 are refused, and the refusal names both ranges. Under --usi the level is the default budget of a go that names none.
--pick chooses a move with the arrow keys and --no-pick types it. Left alone it picks when there is a terminal and Term::ReadKey is installed.
EXIT STATUS
0 you won, or the game drew, or you quit
1 you lost
2 a bad option