def game_over(self):
    'Sets game over and resets position.'
    self.stop_player()
    self.reset_player()
    self.lives_left -= 1
    arcade.play_sound(self.game_over_sound)
Sets game over and resets position.
def game_over(self):
    
    self.stop_player()
    self.reset_player()
    self.lives_left -= 1
    arcade.play_sound(self.game_over_sound)