Function gorrosion_gtp::command::setup::set_free_handicap
source · pub fn set_free_handicap() -> Command
Expand description
Place the free handicap someone else chose.
Effects
Handicap stones are placed on the vertices as requested.
Fails
- Syntax error
- Board not empty
- Bad vertex list
Comments
This command is only valid if the board is empty. The list must have at least two elements and no more than the number of board vertices minus one. The engine must accept the handicap placement. The handicap stones are not included in the move history. Vertices must not be repeated or include “pass”.