You can add or change rooms or treasures in Mines.java. Note that there has to be a guardian and a weapon for each treasure. If you modify Mines.java, you'll have to recompile it before trying to run it. Since Java is case sensitive, the letters in the commands presented here must be typed as presented here. If it is not already there, add the directory containing javac.exe and jar.exe to your path. If they are not present on your machine, download the Java SDK from java.sun.com and install it first. Use the following command to compile Mines.java: javac Mines.java If you don't already have an HTML file to run the program, use notepad.exe to create the file Mines.html containing the following: You can run the program by running Mines.html in your Web browser (e.g., Internet Explorer). One way to start it would be to issue the following command at a DOS prompt: start Mines.html