chore(todo): update GAL-56 status to Done, check off all AC
This commit is contained in:
parent
933d23cc35
commit
4189b8c908
2 changed files with 12 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
id: GAL-56
|
||||
title: Score resource does not reset on game restart
|
||||
status: Todo
|
||||
status: Done
|
||||
parent: GAL-50
|
||||
labels: [bug, ui]
|
||||
---
|
||||
|
|
@ -14,11 +14,11 @@ This means on subsequent games after the first, `Score` retains the previous gam
|
|||
|
||||
## Acceptance criteria
|
||||
|
||||
- [ ] Restarting from `GameOver` resets `Score.value` to 0.
|
||||
- [ ] Restarting resets `PlayerLives.count` to starting value.
|
||||
- [ ] Restarting resets `CurrentStage.number` to 1.
|
||||
- [ ] Restarting resets `FormationState` to default.
|
||||
- [ ] Restarting despawns all `Enemy`, `Bullet`, `EnemyBullet`, `Explosion`, and `TractorBeam` entities.
|
||||
- [x] Restarting from `GameOver` resets `Score.value` to 0.
|
||||
- [x] Restarting resets `PlayerLives.count` to starting value.
|
||||
- [x] Restarting resets `CurrentStage.number` to 1.
|
||||
- [x] Restarting resets `FormationState` to default.
|
||||
- [x] Restarting despawns all `Enemy`, `Bullet`, `EnemyBullet`, `Explosion`, and `TractorBeam` entities.
|
||||
|
||||
## Code context
|
||||
|
||||
|
|
@ -37,6 +37,11 @@ pub fn restart_game_system(
|
|||
|
||||
No resource reset logic exists. The `cleanup_game_entities` system runs on `OnExit(Playing)` but does not reset resources.
|
||||
|
||||
## Comments
|
||||
|
||||
- 2026-05-09 — Status set to In Progress.
|
||||
- 2026-05-09 — Branch `opencode/clever-wolf`, commit 933d23c — Score, lives, stage, and formation reset on restart; explosions despawned on cleanup
|
||||
|
||||
## Integration test hints
|
||||
|
||||
- Build `App`, transition to `Playing`, set `Score = 5000`, transition to `GameOver`, restart, assert `Score.value == 0`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue