Skip to content

Commit

Permalink
delete prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo committed Jan 5, 2025
1 parent 45b8a8c commit 0492671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
17 changes: 0 additions & 17 deletions Dockerfile

This file was deleted.

3 changes: 2 additions & 1 deletion battle_tanks/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def update(self):

for key,player in self.players.items():
if player.fire:
SHOT.play()
player.fire = False


Expand Down Expand Up @@ -131,7 +132,7 @@ def update(self):
sprite_brick = find_sprite(brick_rect, self._bricks)
if sprite_brick:
self._bricks.remove(sprite_brick)
Brick.boom()
SOUND_BOOM.play()
sprite_brick.kill()

elif recv.get("status") == Struct.BLOCK:
Expand Down

0 comments on commit 0492671

Please sign in to comment.