Update Square::Options to Marks and index at 1.
This commit is contained in:
parent
322011306a
commit
64189981f2
4 changed files with 17 additions and 12 deletions
|
|
@ -53,7 +53,7 @@ pub fn validate_board(board: &Board) -> BoardState {
|
|||
}
|
||||
|
||||
if board.squares.iter().any(|sq| match sq {
|
||||
Square::Options(_) => true,
|
||||
Square::Marks(_) => true,
|
||||
_ => false,
|
||||
}) {
|
||||
BoardState::InProgress
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue