| C++ Program Design, 3/e James P. Cohoon,
University of Virginia Jack W. Davidson,
University of Virginia
Software project - Bug Hunt!
Chapter 15 OverviewWe are now ready to put some of the object-oriented skills we have learned to
use. In this chapter we design and implement a program called Bug Hunt. The
object of the game is to eliminate bugs that scurry around inside a window. The
bugs are eliminated by swatting them with the mouse. The implementation of
the game requires the use of most of the object-oriented features of C++ that we
have covered, including inheritance, virtual functions, and polymorphism. The
implementation of the game makes heavy use of the EzWindows API. |
|