Removed print statements
This commit is contained in:
parent
6d316834d3
commit
452c354ebd
3 changed files with 0 additions and 5 deletions
|
@ -45,7 +45,6 @@ class AnimationHandler:
|
||||||
'player',
|
'player',
|
||||||
animation
|
animation
|
||||||
))
|
))
|
||||||
print(f"hitbox: {self.hitbox}")
|
|
||||||
|
|
||||||
elif self.sprite_type == 'enemy':
|
elif self.sprite_type == 'enemy':
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,6 @@ class Player(pygame.sprite.Sprite):
|
||||||
sorted_distances = np.zeros(self.num_features)
|
sorted_distances = np.zeros(self.num_features)
|
||||||
|
|
||||||
nearest_dist, _, nearest_enemy = sorted_distances[0]
|
nearest_dist, _, nearest_enemy = sorted_distances[0]
|
||||||
print(nearest_dist, nearest_enemy)
|
|
||||||
|
|
||||||
self.action_features = [self._input.action]
|
self.action_features = [self._input.action]
|
||||||
|
|
||||||
|
@ -239,8 +238,6 @@ class Player(pygame.sprite.Sprite):
|
||||||
|
|
||||||
self.get_current_state()
|
self.get_current_state()
|
||||||
|
|
||||||
print(self.reward_features)
|
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
|
|
||||||
if not self.is_dead():
|
if not self.is_dead():
|
||||||
|
|
|
@ -190,7 +190,6 @@ if __name__ == "__main__":
|
||||||
for player in game.level.player_sprites:
|
for player in game.level.player_sprites:
|
||||||
|
|
||||||
score = np.mean(player.reward_features)
|
score = np.mean(player.reward_features)
|
||||||
print(player.reward_features)
|
|
||||||
|
|
||||||
# Update score
|
# Update score
|
||||||
score_history[player.player_id][episode] = np.mean(score)
|
score_history[player.player_id][episode] = np.mean(score)
|
||||||
|
|
Loading…
Reference in a new issue