def fell_off_map(self):
    'Detect if the player fell off the map and then reset position if so.'
    if (self.player_sprite.center_y < (- 100)):
        self.game_over()
Detect if the player fell off the map and then reset position if so.
def fell_off_map(self):
    
    if (self.player_sprite.center_y < (- 100)):
        self.game_over()