Pacman clone made as exercise