Pac-man behaves as intended