Removed print statements

This commit is contained in:
Vasilis Valatsos 2023-12-06 14:01:09 +01:00
parent 6d316834d3
commit 452c354ebd
3 changed files with 0 additions and 5 deletions

View file

@ -45,7 +45,6 @@ class AnimationHandler:
'player',
animation
))
print(f"hitbox: {self.hitbox}")
elif self.sprite_type == 'enemy':

View file

@ -153,7 +153,6 @@ class Player(pygame.sprite.Sprite):
sorted_distances = np.zeros(self.num_features)
nearest_dist, _, nearest_enemy = sorted_distances[0]
print(nearest_dist, nearest_enemy)
self.action_features = [self._input.action]
@ -239,8 +238,6 @@ class Player(pygame.sprite.Sprite):
self.get_current_state()
print(self.reward_features)
def update(self):
if not self.is_dead():

View file

@ -190,7 +190,6 @@ if __name__ == "__main__":
for player in game.level.player_sprites:
score = np.mean(player.reward_features)
print(player.reward_features)
# Update score
score_history[player.player_id][episode] = np.mean(score)