RamseyK / JPacmanGame

Implementation of Pacman in Java using standard libraries

Home Page:http://code.google.com/p/pacman-rkant/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JPacmanGame
Ramsey Kant (C) 2010

https://github.com/RamseyK
http://code.google.com/p/pacman-rkant/

This is a basic implementation of Pacman in Java using standard libraries shipped with JDK 1.6. I wrote this in a few hours for a Computer Science course and I have no plans to continue to work on it. This program can be a great starting point for those wanting to learn about any of the features below...

----

= Features =
  * Pacman game play
  * Level editor
  * All game graphics and animation performed by Java's AWT
  * Editor UI written with Swing
  * AStar Path Finding (see links below)
  * Tile based map with smooth movement
  * Extensible AIManager
  * Game Object inheritance hierarchy
  * An intelligent, single threaded, design with a program state model
  * Commented and easy to follow code

= TODO =
Feel free to fill in any of the missing features I did not bother with
  * Unimplemented Pacman quirks (see links below)
  * Ghost personalities (see quirks)
  * Cutscenes
  * Remove 'debug' related toggles and code
  * Ghost eye-movement
  * Better controls for the map editor
  * Fix the scoreboard
  * Better heuristic & cost calculation for path finding
  * A Sound Manager
  * Scale down when resolution is below 1280x1024. Scales up well

= Screenshots =

http://img828.imageshack.us/img828/6517/rkantpacman.png

http://img528.imageshack.us/img528/6554/pac1b.png

http://img256.imageshack.us/img256/8331/pac2.png


= Additional Resources =
  * A VERY detailed dossier on Pacman quirks: http://home.comcast.net/~jpittman2/pacman/pacmandossier.html
  * AStar Implementation by Kevin Glass (used in this program): http://www.cokeandcode.com/index.html?page=tutorials/tilemap2
  * Good read on Path Finding Heuristics: http://theory.stanford.edu/~amitp/GameProgramming/Heuristics.html

These resources have been backed up in the event the online links go down. See "external-resources.zip" in the Downloads section.

----

Javadoc of the code is available in the docs folder and in the Downloads section. If you have any questions about the code, feel free to email me.

-Ramsey Kant

About

Implementation of Pacman in Java using standard libraries

http://code.google.com/p/pacman-rkant/

License:Other


Languages

Language:Java 100.0%