diff --git a/src/logic/future_moves.rs b/src/logic/future_moves.rs index 12b34dc..d751604 100644 --- a/src/logic/future_moves.rs +++ b/src/logic/future_moves.rs @@ -222,6 +222,8 @@ impl FutureMoves { }) .collect(); + // if there are no moves to take, making + // no move is also an option! if new.is_empty() { new.push(Move::new(None, parent_board, new_color, self.agent_color)); }