diff --git a/minmax-rs/src/connect4/board.rs b/minmax-rs/src/connect4/board.rs index eb26e97..0414ef9 100644 --- a/minmax-rs/src/connect4/board.rs +++ b/minmax-rs/src/connect4/board.rs @@ -156,6 +156,7 @@ impl Game for Connect4 { fn possible_moves(&self) -> impl Iterator { let board = self.clone(); + // FIXME: If we reorder the moves so that the potentially better ones (center) come first we get better. (0..WIDTH).filter(move |col| board[*col].is_none()) }