end game when all pellets have been collected