Minesweeper: reveal a region
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.
No answer yet. Write the first one; the best answer gets endorsed.
