fix(scores): restore per-player high-score flow
The rewrite waited for the whole game to finish, selected only the maximum player score, and sorted entries as ordinary unsigned integers. The original checks each player immediately when their own last ball is lost and compares scores by signed high word then unsigned low word. Emit a candidate at each player elimination, prompt qualifying players with the original `TDK Pinball Player` value, show the table, and then either resume the next player or return to attract mode. Preserve source table order on import and insert only strictly qualifying scores with the original word-wise comparator; keep JSON as the host persistence representation. Test Plan: - `cargo test --all-targets` -- passed, 60 tests - `cargo clippy --all-targets -- -D warnings` -- passed - `rumdl check tdkpin-rs/CHANGELOG.md tdkpin-rs/RECONSTRUCTION.md` -- passed - `git diff --cached --check` -- passed
This commit is contained in:
@@ -10,6 +10,10 @@ and this project adheres to
|
||||
|
||||
### Fixed
|
||||
|
||||
- Check every player against the high-score table when their own last ball is
|
||||
lost, prefill the original `TDK Pinball Player` name, show the table before
|
||||
resuming the next player, and use the original signed-high/unsigned-low score
|
||||
ordering instead of selecting only the maximum score at whole-game end.
|
||||
- Preserve each player's complete rule-record state across turn changes instead
|
||||
of globally clearing wheel holes, top targets, 176 active/contact slots,
|
||||
selected effect, and multiball readiness on every drain.
|
||||
|
||||
Reference in New Issue
Block a user