Minesweeper: reveal a region

0
Remix

Implement a click on a Minesweeper board. Clicking a mine ends the game. Clicking a cell with mines around it shows the count. Clicking a cell with none reveals it and spreads to its neighbours with BFS or DFS, stopping at numbered cells.

NuroTechnical phone screenLast asked Aug 2026
No answer yet. Write the first one; the best answer gets endorsed.