Simple OO program

Anyone know how to design a Pacman game by using OOP with Java?Especially the part that control pacman and ghost move.I have no idea at all. Pls help!!
[172 byte] By [piyocpya] at [2007-9-28 19:39:21]
# 1

Oh yeah. Just call System.pacman().move() and System.ghosts().move() methods in a loop like this:

while(System.pacman().isAlive())

{

System.pacman().move();

System.ghosts().move();

}

dubwaia at 2007-7-12 18:20:25 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
Good dubwai, but why didn't you just callProgramWriter.writeProgram("pacman");Its alot less work.
IanSchneidera at 2007-7-12 18:20:25 > top of Java-index,Other Topics,Patterns & OO Design...
# 3
No, your taking the long route.Just usePackManGame pmg = PackManGame.clone();
johnmphillipsa at 2007-7-12 18:20:25 > top of Java-index,Other Topics,Patterns & OO Design...
# 4
Hey! What about Miss Pacman? :)
jpverara at 2007-7-12 18:20:25 > top of Java-index,Other Topics,Patterns & OO Design...
# 5
> Hey! What about Miss Pacman? :)You mean Ms. Pacman
dubwaia at 2007-7-12 18:20:25 > top of Java-index,Other Topics,Patterns & OO Design...