I am wondering about a C++ GUI program which simulates the game of
"Whack-a-mole" . The "game board" is a 10 by 10 grid.
When the player clicks the "Start" button, a mole pops its head up in a
random square. (The mole is represented by a circle of a random color with a
random point score [5, 10, 20, 50, or 100] displayed in the circle.) When the
user clicks the mole, that score is added to the player's total for the game,
and the mole disappears. The program checks to see if 60 seconds have
elapsed
since the start of the game; if so, the game is over. If not, another mole
appears, and so on.
There is a timer code under C++: timertest.cpp and a timer.h file
I guess there is a for loop for the i++ to keep adding a score to the
previous score
bob
bicleSoft.com/MyTaskFocus/
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[Non-text portions of this message have been removed]