Find the hidden gold


The goal is to the find the hidden gold in the fewest number of guesses. Each time you click on a button, the distance to the hidden gold will be revealed. The distance is the sum of the horizontal and vertical distances (sometimes called Manhattan Distance). There is only one gold-mine to be found and it does not move. Admittedly this is not an extremely challenging game. When you find the gold, the number of guesses will be displayed on the browser status line. Reloading the page should enable to you play a new game.

Your browser must support Java 1.1 to run this applet.

Maybe your browser doesn't support Java or Java 1.1 events.

This applet was written as an example of Java 1.1 event handling for my Introduction to Programming using Java class. The applet requires less than one page of Java code.

Paul McNamee: (