|
13 | 13 | ## Features |
14 | 14 |
|
15 | 15 | - **Mission-Based Gameplay**: Complete objectives across multiple levels with increasing difficulty |
| 16 | +- **Difficulty System**: Choose from three difficulty levels (Nebula/Easy, Supernova/Normal, BlackHole/Hard) |
| 17 | + - Difficulty affects enemy spawn rates, damage taken, and loot drop chances |
16 | 18 | - **Classic Space Shooter Controls**: Rotate and thrust your ship with smooth engine mechanics |
17 | 19 | - **Asteroid Destruction**: Break large asteroids into smaller fragments, with rare asteroids dropping valuable loot |
18 | 20 | - **Enemy Ships**: Battle enemy ships that track and shoot at you |
| 21 | +- **Bullet-to-Bullet Collisions**: Your bullets can intercept and destroy enemy bullets, creating defensive gameplay |
| 22 | +- **Pause System**: Pause the game at any time with ESC key |
19 | 23 | - **Loot System**: Collect scrap, rare metals, health packs, weapon boosts, and shields |
20 | 24 | - **Magnet Effect**: Loot items are automatically attracted to your ship when nearby |
21 | 25 | - **Animated Loot**: Items rotate and drift realistically in space |
22 | 26 | - **Shield System**: Activate shields that absorb damage before it reaches your health |
23 | 27 | - **Weapon Boosts**: Rapid fire mode and big bullet mode for enhanced firepower |
24 | 28 | - **Resource Management**: Track rust piles (scrap) and gold (rare metals) separately |
25 | | -- **Health Point System**: Start with 100 HP - bigger asteroids deal more damage! |
26 | | -- **Shield System**: Collect shield items to activate temporary shields that absorb damage |
| 29 | +- **Health Point System**: Start with 150 HP - bigger asteroids deal more damage! |
| 30 | +- **Health Restoration**: Health is fully restored to 150 HP at the start of each mission |
27 | 31 | - **Variable Damage**: Damage scales with asteroid size and bullet type |
28 | | -- **Enemy Health System**: Enemies have 30 HP and take multiple hits to destroy |
| 32 | +- **Enemy Health System**: Enemies have 24 HP and take multiple hits to destroy |
29 | 33 | - **High Score System**: Your high score is automatically saved and persists between sessions |
30 | 34 |
|
31 | 35 | ## Controls |
32 | 36 |
|
33 | | -- **Left Arrow**: Rotate ship counter-clockwise |
34 | | -- **Right Arrow**: Rotate ship clockwise |
| 37 | +- **Left Arrow**: Rotate ship counter-clockwise / Select difficulty (in menu) |
| 38 | +- **Right Arrow**: Rotate ship clockwise / Select difficulty (in menu) |
35 | 39 | - **Up Arrow**: Thrust forward (with smooth engine ramp-up) |
36 | 40 | - **Space**: Shoot bullets / Launch mission (from briefing screen) |
37 | 41 | - **Enter**: Start game (from menu) / Next mission (from success screen) / Return to menu (from game over screen) |
| 42 | +- **ESC**: Pause/Resume game (during gameplay) |
38 | 43 |
|
39 | 44 | ## Installation |
40 | 45 |
|
@@ -86,17 +91,23 @@ The pre-commit hook automatically runs the same checks as CI before each commit. |
86 | 91 | ### Mission System |
87 | 92 |
|
88 | 93 | The game features a mission-based progression system: |
| 94 | +- **Difficulty Selection**: Choose your difficulty level before starting (Nebula/Easy, Supernova/Normal, BlackHole/Hard) |
| 95 | + - **Nebula (Easy)**: 0.8x damage taken, slower enemy spawns, +10% loot luck |
| 96 | + - **Supernova (Normal)**: 1.0x damage taken, normal spawns, standard loot |
| 97 | + - **BlackHole (Hard)**: 1.5x damage taken, faster enemy spawns, -15% loot luck |
89 | 98 | - **Briefing Screen**: View mission objectives before launching |
90 | 99 | - **Mission Objectives**: Each mission requires completing specific goals: |
91 | 100 | - Destroy a certain number of enemies |
92 | 101 | - Collect a certain amount of rust piles (scrap) |
93 | 102 | - Collect a certain amount of gold (rare metals) |
94 | 103 | - **Mission Success**: Complete all objectives to progress to the next level |
95 | 104 | - **Progressive Difficulty**: Missions become increasingly challenging with more enemies and asteroids |
| 105 | +- **Health Restoration**: Your health is fully restored to 150 HP at the start of each new mission |
| 106 | +- **State Persistence**: Resources (scrap, gold), active shields, and weapon boosts persist between missions |
96 | 107 |
|
97 | 108 | ### Scoring |
98 | 109 | - **Asteroids**: 100 points each |
99 | | -- **Enemy Ships**: 300 points each (10 points per HP, enemies have 30 HP) |
| 110 | +- **Enemy Ships**: 240 points each (10 points per HP, enemies have 24 HP) |
100 | 111 |
|
101 | 112 | ### Loot System |
102 | 113 |
|
@@ -135,31 +146,42 @@ Loot items drop from destroyed asteroids and enemies: |
135 | 146 |
|
136 | 147 | ### Gameplay |
137 | 148 |
|
138 | | -- **Health System**: Start with 100 HP (displayed as HP: current/max) |
| 149 | +- **Health System**: Start with 150 HP (displayed as HP: current/max) |
| 150 | +- **Health Restoration**: Health is fully restored to 150 HP at the start of each new mission |
139 | 151 | - **Shield System**: |
140 | 152 | - Shields absorb damage before it reaches your health |
141 | 153 | - Shield HP is displayed when active: "SHIELD: current/max" |
142 | 154 | - Shields have a duration (30 seconds) and deactivate when HP reaches 0 or timer expires |
143 | 155 | - Damage is first applied to shield, then to health if shield is depleted |
| 156 | + - Active shields persist between missions |
144 | 157 | - **Damage System**: |
145 | 158 | - **Asteroid Collisions**: Damage scales with asteroid size (bigger asteroids = more damage) |
146 | 159 | - Base damage: 5 HP per 10 units of radius |
147 | 160 | - Large asteroids (radius 40): ~20 HP damage |
148 | 161 | - Medium fragments (radius 20): ~10 HP damage |
149 | 162 | - Small fragments (radius 10): ~5 HP damage |
150 | | - - **Enemy Bullets**: Deal 15 HP damage |
| 163 | + - Damage is multiplied by difficulty level (Easy: 0.8x, Normal: 1.0x, Hard: 1.5x) |
| 164 | + - **Enemy Bullets**: Deal 15 HP damage (multiplied by difficulty) |
151 | 165 | - **Player Bullets**: Deal 15 HP damage to enemies (30 HP with big bullet boost) |
152 | | - - **Enemy Health**: Enemies have 30 HP and take multiple hits to destroy |
| 166 | + - **Enemy Health**: Enemies have 24 HP and take multiple hits to destroy |
| 167 | +- **Bullet-to-Bullet Collisions**: Your bullets can intercept and destroy enemy bullets |
| 168 | + - When player and enemy bullets collide, both are destroyed |
| 169 | + - Creates an explosion effect at the collision point |
| 170 | + - Provides defensive gameplay - shoot enemy bullets to protect yourself |
| 171 | +- **Pause System**: Press ESC to pause the game at any time |
| 172 | + - Game state is frozen while paused |
| 173 | + - Press ESC again to resume |
153 | 174 | - Complete mission objectives to progress (kills, rust piles, and gold) |
154 | 175 | - Destroy asteroids to break them into smaller pieces |
155 | 176 | - Rare asteroids (10% spawn chance) have distinct appearance and always drop loot |
156 | | -- Enemy ships spawn based on mission configuration and track your position |
157 | | -- Enemies have 30 HP and shoot at you - destroy them to complete kill objectives |
| 177 | +- Enemy ships spawn based on mission configuration and difficulty level |
| 178 | +- Enemies track your position and shoot at you - destroy them to complete kill objectives |
158 | 179 | - Collect rust piles and gold separately - missions require specific amounts of each |
159 | | -- Health packs restore 25 HP (capped at maximum of 100 HP) |
| 180 | +- Health packs restore 25 HP (capped at maximum of 150 HP) |
160 | 181 | - **Rapid Fire Boost**: Reduces shooting cooldown by 3x for 10 seconds |
161 | | -- **Big Bullet Boost**: Shoots larger, more powerful bullets (20 damage) for 15 seconds |
| 182 | +- **Big Bullet Boost**: Shoots larger, more powerful bullets (30 damage vs 15) for 15 seconds |
162 | 183 | - **Shield**: Activates a temporary shield that absorbs damage before it reaches your health |
| 184 | +- **State Persistence**: Resources (scrap, gold), active shields, and weapon boost timers persist between missions |
163 | 185 | - When HP reaches 0, your score is saved if it's a new high score |
164 | 186 |
|
165 | 187 | ## Project Structure |
|
0 commit comments