Java Programming Club

A small but dedicated group of students meet after school in Ma2 to program in Java. Java is a modern language which enables you to make a computer do just about anything. It is very hard to learn but very very rewarding when it works. Students obtain a real buzz when they manage to get the machine to obey!
These pages chronicle their progress.
If all you get when you run our applets is a grey box then you need to install the Java Run Time Environment (JRE), otherwise known as the Java Virtual Machine (JVM). This is a free plug-in for your Internet browser and it can be downloaded from Java Sun JRE version 5. This will enable you to run all the applets on this site.

Pacman Clone

Killer Pacman The students are adding their own brand of fun to good old Pacman. This one features 13 ghosts. Other versions have ghosts with overdrive.

Christmas Trees

Follow this link for a fractal landscape program.

Snowflakes

Follow this link for a fractal snowflake program.

Pythagoras Tree.

This is picture of a fractal tree generated by a Java applet written by Aaron Fitzpatrick, Jonathan Powe, Matthew Hayward and Hannah Worthington.
The program draws a square and an isocoles triangle on top. It then redraws the same shape on the the top edges of the triangle.
Full program here.
Gradually increase the level to generate more of the tree. The amount of memory used grows exponentially. By level 12 even the best computers will struggle.


Javaman by Kim & Jodie.
This gif was generated by using basic commands from the graphics class.

This is an applet by Kim and Jodie in Year 8. It draws a multicoloured square that moves across the screen. This is the kind of thing that you would do in the first stages of a Java programming course at university!
The square's movement is controlled by two random numbers sequences. Modular arithmetic is used to wrap the square's motion back onto the box when it leaves an edge. The square is actually moving on a toriod. (Just like the rocks in "asteroids".)


Java Caterpillar by Holly.
Another venture into the graphics environment.

Pong!. Holly and Jodie in Year 8 are working on a recreation of the early arcade game "Pong." It isn't finished yet but it provides fast and furious entertainment once you realise how to change the puck's direction!! Probably impossible on a fast machine.

Last updated 22nd June 2007