Site hosted by Build your free website today!

Pacman Applet Tutorial

Day 0

Source code for Pacman

This is the first day of our Java game making tutorial. It is Day 0 (instead of Day 1) because you start counting with 0 instead of 1 in many computer languages including Java.

The applet right now is just a skeleton of a game. It has almost no meat on it. Connective tissue is about it. But it will allow us to build up a game pretty quickly. The code for today is a good place to start when building your own applet game.

What the applet does so far is simply draw a yellow square on a black background. Not very impressive, but it will allow us to look at the basics of this applet.

Next: Day 1.