def game_over(self):
        obj_loc = self.obj_loc + 0.5
        dist = np.sqrt(np.sum((self.pos - obj_loc)**2.0))
        
        if dist < 1.0:
            self.score += self.rewards["win"] 
            return True
        else:
            return False
dataset/ETHPy150Open ntasfi/PyGame-Learning-Environment/ple/games/raycastmaze.py/RaycastMaze.game_over/original