test(game): exercise two minutes of autoplay

Add a seeded autoplay scenario that performs a deliberate full-strength charge
for every launcher ball and operates both flippers from live ball position.
Turn the two-minute run into an end-to-end test covering repeated launches,
flipper edges, bumpers, targets, lock holes, claw capture/release, and drains
while rejecting non-finite state.

Document autoplay as the long-run validation entry point and record the expanded
runtime coverage boundary.

Test Plan:
- `cargo test --all-targets` -- 48 passed
- `cargo clippy --all-targets -- -D warnings` -- passed
- `cargo build --profile production` -- passed
- Windows GNU and macOS x86_64 `cargo check` -- passed
- `git diff --cached --check` -- passed
This commit is contained in:
2026-08-22 21:33:29 +02:00
parent cd27fc8404
commit 7d28818e23
3 changed files with 71 additions and 6 deletions
+4 -2
View File
@@ -44,8 +44,10 @@ cargo run -- --simulate claw-6 --at 0.15 \
```
Use `--step N` instead of `--at SECONDS` to reproduce one exact update. The
available scenarios are `launcher`, `flippers`, `claw-1`, `claw-6`, `claw-7`,
and `claw-18`; `--seed N` fixes random choices for later seeded scenarios.
available scenarios are `autoplay`, `launcher`, `flippers`, `claw-1`, `claw-6`,
`claw-7`, and `claw-18`; `--seed N` fixes random choices. `autoplay` charges
each ball and operates the flippers from live ball position for long end-to-end
validation runs.
## Original and modern controls