• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 21. Minesweeper > Implementation Notes

21.2. Implementation Notes

The structure of the Minesweeper application is simple enough that it does not require much explanation. It has basically the same shape as the other examples in the book and is built from just four classes.

Minesweeper: the class containing the main() method

Counter: a custom widget to display a three-digit counter

Timer: a subclass of Counter that increments once a second

Board: a custom widget to display the playing field


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint