Skip to content

Fix #373: Show score preview when die face is selected in manual play…#398

Open
ahmedmajid22 wants to merge 1 commit into
smallgig:mainfrom
ahmedmajid22:fix-373-score-preview
Open

Fix #373: Show score preview when die face is selected in manual play…#398
ahmedmajid22 wants to merge 1 commit into
smallgig:mainfrom
ahmedmajid22:fix-373-score-preview

Conversation

@ahmedmajid22
Copy link
Copy Markdown

Closes #373

Changes

  • Updated _draw_dice in renderer.py to show a score preview
    when a die face is selected before clicking ROLL or STOP
  • When a die is selected, score displays as Score: 12 → 17
  • When no die is selected, score displays as before: Score: 12

How it works

Die face values (1–5, worm=5) are multiplied by the rolled count
of the selected face and added to the current collected score,
matching the Board Game Arena behaviour described in the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update score in manual play GUI based on die selected BEFORE clicking ROLL or STOP

1 participant