From 4444dd9a4af127542213de1d06aa61ecd2259bd6 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Tue, 25 Mar 2025 12:48:44 -0400 Subject: [PATCH] future_moves: add comment regarding no-move --- src/logic/future_moves.rs | 2 ++ 1 file changed, 2 insertions(+) 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)); }