An example of Java programming from FLAIR



This is a game of Whack-A-Mole, only instead of a mole we are using the head of Jonathon Payne, one of the original programmers of Java. Whack him to make him quack.

If you miss him popping up and dropping down, he will pop up one last time and stick his tongue out at you to mock you. Whack him then for extra points. That will make him moo.

If you win (which means beating a certain score), you will get a triumphant message. If you lose, you will be mocked by a master.

There are a number of other images available for whacking. You can try:

Or you may want to visit the author's home page.


The source to this program can be found on this web site.

You can also see the parameters that control these different games, and discover how you could embed them in your own web pages.

If you are viewing this file some place other than its home on the Web, try linking to here for the latest version.

Finally, the full package can be downloaded here.

Have fun!