"[an error occurred while processing this directive]"

Compile Me.

The Java source code for Pacman is about 10,000 lines of code. It's really simple. There's basically a game timer, state machine, double buffering, incremental UI updates and a few model classes. Most of the code I didn't even write! It was generated by the level designer for creating the ten mazes. Feel free to download and do whatever you want with the code. Warning: Code is not pretty.


Pacman Eclipse Project
Import this project into Eclipse and you should be able to compile, set breakpoints, change the code, what have you. If you don't know what Eclipse is, then you probably shouldn't be downloading this.

Level Designer
This is a small WYSIWIG application used to create Pacman mazes. There's a palette of tiles like walls, bends, pellets and powerups and you can "paint" the board with these tiles. The tool spits out the Java maze code and then you need to cut and paste into the GameModel class.

BlackBerry Port for 7xxx and 8xxx
I ported this game to my BlackBerry using RIM's BlackBerry Java Development Environment. The BlackBerry JDE is a like Eclipse or Visual Studio but specific for writing BlackBerry applications. Download the JDE and open this project file with it.