First Maze Game Results

Submitted by Bill St. Clair on Wed, 22 Jan 2003 13:00:00 GMT
From Quotes of the Day:
"What is the use of a house if you haven't got a tolerable planet to put it on?" -- Henry David Thoreau
and:
"Never raise your hand to your children; it leaves your midsection unprotected." -- Robert Orben

I spent my blogging time last evening working on my maze game. The maze was defined by the following characters (with spaces instead of the ">" and "v" chars I used to denote starting and turning):

_ _ _ _ _ _ _ _ _ _
|> _   _ _ v _ _ _  |
|_  | |  _ > _ _ _ v|
|  _| | |   |   | | |
| | | | | | | | | | |
| | | | | |_| | | | |
|   | | |_ _  | | | |
| | | |_ _  |_|   | |
| | |  _  |_ _ _| | |
| |_ _|_ _ _   _ _| |
|_ _ _ _ _ _ _ _ _ _|

Here's an animated GIF starting at the ">" in the upper-left-hand corner, turning right at the "v" in the top row, turning left at the ">" just below that, and turning right at the "v" in the right-most column. Reload the page to play the animation again. I made the animation with a demo version of Advanced GIF Animator™.

[large animated GIF removed. Use the real applet instead]

If you've got Java 1.3 or later installed on your machine, you should be able to run the code from jmaze-030122.jar, a 6K double-clickable (on Windows) Java library file. The arrow keys move around in the maze. You'll probably have to save the file to your hard drive before double-clicking on it. If that doesn't work, try opening a command line window to the directory containing the file, and typing the following:
javaw -cp jmaze.jar jmaze.MazeFrame
Next I need to define the appearance of the other players and the appearance and behavior of the missiles. Then I'll do the network code. Finally, if I still have energy for it, I'll do a maze editor. Keep watching my jmaze directory for updates. Source is there as well.

Add comment Edit post Add post