Create a Simple Computer Game

Begin with several insects walking around the screen. The user must click the mouse on an insect to kill it. The user must kill as many insects as possible in 30 seconds.
Keep an on-screen count of the number of insects killed and an on-screen timer counting down form 30 seconds. The game should get harder as it proceeds, so make the insects move faster with each kill. After 30 seconds the game ends.
Use an image editing software to draw an animated insect. There should also be an image for it being dead.
Animate the insect so it faces the direction it is moving.
It is recommended that you define a class to represent an insect and use an array of objects to create several insects.
Note-The player must “click” on an insect to kill it. Do not simply test if the mouse button is pressed while the pointer is on the insect, as this lets the player click once and simply drag around to score kills. Too easy!

You can leave a response, or trackback from your own site.