Whack a Mole


The goal of Whack a Mole is to smash the moles that emerge from the holes on the screen. Each of the nine holes correspond to the numbers 1-9 on the numberpad. Pressing the number will smash the mole at that location. Be careful not to hite a hole with no mole in it however, you can only miss three times before the game is over.

To Start a new game, press the space bar.
To Quit, press the escape key.

This game was developed in C++ as an introduction to DirectX programming.



whackamole.zip - Executable - Three .bmp files are included in the zip file. These need to be in the same directory as the executable to display the graphics.

[Back to Projects]     [Back to JohnHScott.net]