Commit graph

3 commits

Author SHA1 Message Date
ff3416b664 chore: apply cargo fmt formatting 2026-05-07 23:31:30 +02:00
060a9a2a14 feat(persistence): add high score saving/loading
Add HighScore resource, persistence module with save/load, and
integration tests. Dependencies: serde, serde_json, dirs.
2026-05-07 23:30:59 +02:00
9e6d53867a feat(game): add special stage type every 3rd level
Every 3rd stage (3, 6, 9, ...) is now a special stage with no enemy
dive attacks and no enemy shooting. Enemies still spawn in the default
grid formation (32 enemies) but remain in formation without attacking.

Changes:
- Add SPECIAL_STAGE_INTERVAL constant and is_special_stage() function
- Add special_stage config to StageConfigurations with empty attack_patterns
- Modify for_stage() to route special stages to special config
- Guard enemy_shoot system to skip shooting during special stages
- Show '*' suffix in window title for special stages

Refs: GAL-39
2026-05-06 23:31:12 +02:00