diff options
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -36,6 +36,10 @@ def main(): for obj in updatable: obj.update(dt) for asteroid in asteroids: + for bullet in shots: + if bullet.collision_check(asteroid): + bullet.kill() + asteroid.kill() if asteroid.collision_check(player): print("Game over!") return |
