Module binoxxo::bruteforce::choose_move [−][src]
This module implements selecting a move from a list of given moves with
fn
select_next_move
.
The selected move is represented as struct
Move
.
Structs
Move |
Next move to perform. |
Enums
MoveSelection |
Enum whether the selected move was taken because of it was the only possible move for the field or randomly chosen from multiple possible moves (with both X and O possible for the field). |
Functions
select_next_move |
Returns from a list of possible moves |