Reveal the cell at (row, col).
If flood
is True, recursively reveal neighboring empty cells (classic Minesweeper flood-fill).
Placeholder logic: just mark the target cell as REVEALED.
Source code in ai_minesweeper/board.py
| def reveal(self, row: int, col: int, flood: bool = False) -> None:
"""
Reveal the cell at (row, col).
If `flood` is True, recursively reveal neighboring empty cells (classic Minesweeper flood-fill).
Placeholder logic: just mark the target cell as REVEALED.
"""
cell = self.grid[row][col]
cell.state = State.REVEALED
|