future_moves: add comment regarding no-move

This commit is contained in:
Simon Gardling 2025-03-25 12:48:44 -04:00
parent 9ca6fad151
commit 4444dd9a4a
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -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));
}