Skip to content

Commit dc8fe85

Browse files
Update exercises/minesweeper/instructions.md
Co-authored-by: Isaac Good <IsaacG@users.noreply.github.com>
1 parent 989bb74 commit dc8fe85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exercises/minesweeper/instructions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Your task is to add the mine counts to empty squares in a completed Minesweeper
44
The board itself is a rectangle composed of squares that are either empty (` `) or a mine (`*`).
55

66
For each empty square, count its number of adjacent mines (horizontally, vertically, diagonally).
7-
If the empty square has no adjacent mines, leave it empty, otherwise replace it with the adjacent mines count.
7+
If the empty square has no adjacent mines, leave it empty.
8+
Otherwise replace it with the adjacent mines count.
89

910
For example, you may receive a 5 x 4 board like this (empty spaces are represented here with the '·' character for display on screen):
1011

0 commit comments

Comments
 (0)