Skip navigation.
New Mexico State University

Hunter

Beware! Bigfoot is waving now, but shoot him with that tranquilizer gun and it could get ugly!

The hunter game was created to teach the following concepts:

1. Game initialization. When the play button is clicked the number of shots, hits and misses are reset, and now you can shoot and hit (or miss).

2. Game-state checking. When you have used your last shot, the game is over and you can click play to play again.

3. Making things visible and invisible - in this case the play button.

4.Removing event listeners so that buttons can no longer be clicked on - when the game is over.

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player