Selecting Game > Restart should begin the same board over
again.
Select Game > New Game to begin the next sequential board.
The Game > Select Game menu should open a dialog that allows
the
user to enter a desired game number. The application should
ignore input outside the range 1 - 5000.
The console version has an unpublished menu item, "0", which
deletes the hall of fame file.
All menus should have keyboard accelerators.
At the start of the game the grid is completely
filled with hidden squares.
A status label shows the number of Moves, the number of Flagged
squares, the number of bombs, and time elapsed in minutes and
seconds.
The Moves count is zero and the Flags count is zero.
Sample:
"Moves: 2 Flags: 0/8"
"Moves: 2 Flags: 12/8"
"Moves: 15 Flags: 7/8"
When you click on a square which doesn't have a bomb, numbers in
squares next to
unrevealed squares will indicate how many bombs are adjacent to
it. For
example, if an empty square has a 2 in it, there are 2 bombs
adjacent
to it.
When you click on an empty square that has no bombs next to it, the app recursively reveals all the other adjacent empty cells, until it gets to one that is numbered.
If you click on a square containing a bomb, all the squares are revealed showing images of exploded and unexploded bombs as depicted in the requirements. A lose dialog message appears. Verify that there are as many bombs as shown in the status label. Verify that the bomb that was clicked on is shown as exploded.
A right mouse button click will toggle a "flag" image on and
off to allow the player to mark squares that are suspected bombs.
Move counter should NOT increase when a cell is flagged or
unflagged.
You don't win for flagging all the bombs. You only win when you clear all the non-bomb cells.
If the player wins the game a popup dialog should show the
elapsed
time and ask the player if they want to record their time.
If the
player clicks "Yes", a second dialog allows the player to enter
their name. Note: the dialog should appear AFTER revealing the
board.
Names longer than 20 characters should be truncated to 20 characters.
Clicking a non-bomb cell after the game is won or lost will
increment the
move counter, but not win a second time.
Verify the number of flags increments as you mark squares.
Verify the number of flags decrements as you unmark squares.
A8 H1 H8