Commit Graph

3 Commits

Author SHA1 Message Date
angelotr
d0952e4203 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.
2025-12-09 00:38:15 -05:00
angelotr
47a9e1abe3 I did not realize this had to be three submissions. My first progress was the add lives to the asteroid game.
For this feature, I added a health system so the player has three
lives instead of losing instantly. In nav_game.py, I added "health": 3
to the game state, and in spaceship.py I created a take_damage method
that subtracts one life when the ship is hit. If the player's health
reaches zero, the game ends. This change is important because it
makes the game less punishing, gives the player more chances to
recover from mistakes, and makes gameplay feel more balanced and fun.
2025-12-08 23:39:17 -05:00
3816c0bac0 Initial commit 2025-09-01 02:29:33 +00:00