While the source code isn't public for now, you'll find a detailed breakdown of the architecture, decisions, and implementation approach below.
What
An endless top-down space shooter built with Pygame. Enemies scale in difficulty over time via a threat system that adjusts spawn rate, stats, and fire rates. Mini-boss encounters appear after kill thresholds and repeat with increasing difficulty. Run stats and best scores persist between sessions.
Why
...
Features
- Endless run with no hard stage cap
- Two enemy types:
SimpleEnemyandShootingEnemy - Threat-based difficulty scaling over time
- Periodic mini-boss encounters
- Deterministic mode via
--seedflag for reproducible balancing tests - Persistent
save_data.jsonfor run stats and high scores - Regression + stress test suite
Stack
| Layer | Choice | |---|---| | Language | Python 3.10+ | | Game engine | Pygame 2.5 |
What I learned
...