From d0952e420317972e1373502a1237d9b745691a15 Mon Sep 17 00:00:00 2001 From: angelotr Date: Tue, 9 Dec 2025 00:38:15 -0500 Subject: [PATCH] For the second part of my entery, I have added the ability for the asteroids to fall at different speeds throughout the game. For the meteor speed mechanic, I updated asteroid.py to give each asteroid a speed value and move only on certain turns depending on that speed. I also changed the spawner so each new asteroid gets a random speed between 1 and 3. This means some asteroids fall quickly while others fall more slowly. This addition is important because it creates more variety in the game, makes movement patterns less predictable, and increases the challenge in a natural way as the player navigates different kinds of threats. --- bullet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bullet.py b/bullet.py index 56ad548..484c713 100644 --- a/bullet.py +++ b/bullet.py @@ -28,4 +28,5 @@ class Bullet: game.remove_agent(self) # Reward points for hitting an asteroid game.state["score"] += 10 - return \ No newline at end of file + return + #here \ No newline at end of file