Pacman meets geometry - 2D game