Simple pacman game implementation