Where to go now
Although the prototype is completed, there are a couple of things you should do to complete your training:
- Organize the frames to show using constants. Define four constants called something like
COVERED_TILE, UNCOVERED_TILE, MINE_TILEand
FLAG_TILE, then call
- Print an "end game" message when the player solves the game. You could count the uncovered tiles, and when they are
FIELD_W*FIELD_H-NUMBER_OF_MINES, the game is solved.