Back to my Homepage.
Programs
These are some of my first Java programs, they were mostly written back
in the days of Java 1.0.
3D Maze.
The first real program I
ever wrote in Java (after hello world, 2D tic tac toe, and 3D tic tac
toe),
I wrote this in Java 1.0 in Fall 1997 when I was in 9th Grade (I
think). The algorithm I used to create the maze recursively was
partially taken
from a TRUE BASIC program and was one of the first times I ever used
recursion.
The interesting thing about this program is that it uses no 3D graphics
package. In fact, other than receiving the hint of
dividing
the X and Y coordinates by the Z coordinate to create U and V
coordinates, I developed the algorithms completely on my own.
My first attempt which I invented actually
projected
the image onto a spherical surface (using arctan) instead of an image
plane, this looked a little strange when drawn on a normal
monitor. Without a doubt this projection problem was the most
frustrating part of creating this program. I think the picture of
me working on the Mac is from when I was working on this project.
Cat and Mouse
A cute little cat and mouse game. This was my first excursion
into multi threaded programs. I thought I had written this program
earlier; however, the creating dates claim November 2000. Written
in Java 1.1.
Chess Board
This was part of my large plan to create a correspondence chess webpage
where I could play with my brother. Although, I lost interest in
this
project, this program was the result. Only legal moves are allowed and
it correctly
handles every situation I could think of (castle, en passant, queening,
checks, pins). It forces players to alternate moves. To pick up a
piece click on it once and to drop it again click in the target square.
I also implemented an editing mode where restrictions on movement are
completely ignored and additional pieces can be added to the
board. Additionally, a board can be saved and restored later
(but not saved to disk). I wrote this in August 2002.
Back to my Homepage.
Probably Last Modified 04/05/2006