fn handle_position(params: &[String], state: &UciState)
Expand description

Handles position ... command with the following variants:

  • position startpos - sets a default position
  • position startpos moves [list of moves] - sets a default position and applies a list of moves
  • position fen [fen] - sets a FEN position
  • position fen [fen] moves [list of moves] - sets a FEN position and applies a list of moves