feat(play-ball): add defensive-play support, unassisted outs, FC pers… #54
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
umpire274/bs_scoring!54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "v0.10.6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
…istence/resume, and TUI command history recall
Implemented a major v0.10.6 Play Ball engine upgrade focused on defensive scoring commands, persistence consistency, and TUI usability.
Main changes:
This release closes the current defensive-play expansion work for v0.10.6 and prepares the project for a cleaner grammar/parser refactor planned for v0.11.0-alpha1.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
04dc31382dℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The parser accepts fielder's-choice destinations like
SC/HOME, but thisRunnerDest::Scorebranch is a no-op, so a command such aso6 screcords a completed plate appearance without adding a run. That produces incorrect totals and inning scoring whenever FC-to-home is entered.Useful? React with 👍 / 👎.
This branch reconstructs
FieldersChoiceby updating onlyoutsandapply_batter_fielders_choice, but composed defensive plays can also include explicit runner outs/advances (persisted as runner-movement rows inapply_defensive_play_command). Because those runner segments are not applied here, commands like9 64, 1 o6 1bleave runners on incorrect bases after live apply/resume, causing state drift from what was scored and persisted.Useful? React with 👍 / 👎.