Pacman clone written in Java