NumberJump
This is a simple game of my own invention. One begins in the center square (highlighted). The number in that square indicates the number of spaces you may jump either to the left, right, up, or down. You may only jump to another numbered space. Once you leave a space, it disappears to reveal part of an image below. You win if you are able to remove all but one square (which will be removed automatically for you). As the number values are generated randomly, there is no guarantee that the game is winnable... sorry.
The background image is not E. Harshbarger's.
Downloading
The applet may be downloaded for free by clicking on the TAR-file link below (read the FAQ if you're not sure what to do with a TAR file). The FAQ also has step by step instructions on how to embed an applet into your own webpage.
NumberJump2.tar
Once unTARed, you should find the following classes (plus a '.jar' file if you want to use the archive= attribute in the <applet> tag):
- AppletUtil3.class
- AudioThread2.class
- NumberJump2ech.class
- NumberJumpCanvas2.class
Parameters
Below are descriptions of all the parameters you may use to customize the applets to your webpages. Be sure to enclose any parameters that contain white space in double-quotation marks. Most parameters have default values in case you do not specify your own values, but the first two parameters (AUTHOR and COPYRIGHT) are necessary. If you are not sure how to incorporate an applet into a webpage (with its parameter names and values), looks at the source of this webpage and the applet embedded for an example, or read the FAQ page.
AUTHOR: This parameter must appear exactly as follows:
<param name=AUTHOR value="Eric Harshbarger, http://www.ericharshbarger.org">
COPYRIGHT: This parameter must appear exactly as follows:
<param name=COPYRIGHT value="NumberJump applet, Copyright 1998, Eric Harshbarger">
BACKGROUND: This parameter points to an image file that is used as a background to the applet. All the various texts of the applet will be painted on top of this image. Consult the FAQ page if you are unsure about what image formats you may use.
BGCOLOR: The background color of the pieces. Consult the FAQ if you are unsure of the format of color values.
FGCOLOR: The foreground color of the pieces. Consult the FAQ if you are unsure of the format of color values.
HIGHLIGHT.COLOR: The background color of the space upon which the player currently is placed. Consult the FAQ if you are unsure of the format of color values.
FONTNAME: This value indicates the fontface used by the applet. Java1.0.2 has the following values from which to choose (must be spelled exactly): TimesRoman, Dialog, Courier, Helvetica, DialogInput, Symbol.
FONTSIZE: This value indicates the size of the font used by the applet.
FONTSTYLE: This value indicates the style of the font used by the applet. The value should be one of the following: plain, bold, italic, bolditalic.
COLUMNS: The number of spaces/squares across on the board. The default is 7.
ROWS: The number of spaces/squares up and down on the board. The default is 7.
SQUARE.SIZE: The pixel dimension of the square pieces. The default is 20.
SOUND.JUMP: This parameter points to a sound file that is played whenever a successful jump is made. Consult the FAQ if you have questions about what type of sound formats may be used.
SOUND.WIN: This parameter points to a sound file that is played if the puzzle is successfully solved. Consult the FAQ if you have questions about what type of sound formats may be used.
APPLET DEPOT:
INTRO
-
NEWS
-
APPLETS
-
DEMOS
-
CUSTOM
-
FAQ
-
EMAIL
The Applet Depot and all associated applets, text, scripts, and images, Copyright © 1998-2002 by Eric Harshbarger unless otherwise noted. 'Java' is a registered trademark of Sun Microsystems Incorporated.