Skip to content

Conversation

@whoatharva
Copy link

Summary of Logic and Error Fixes: #1

  1. Bonus Rolls for Rolling a 6:

    • Logic: If a player rolls a 6, they get an extra roll.
    • Fix: Keeps the turn going, adding excitement and more scoring opportunities.
  2. Penalty for Two 1s in a Row:

    • Logic: If a player rolls two 1s consecutively, they lose 5 points.
    • Fix: Introduces risk and strategy, making players cautious.
  3. Lucky Event (Score Multiple of 10):

    • Logic: If the player's score is a multiple of 10, they get 5 bonus points.
    • Fix: Rewards players for hitting certain score milestones.
  4. Errors Solved:

    • Score Updates: Fixed the issue where the score wasn’t updating between turns.
    • Winner Declaration: Ensured the game correctly stops and announces the winner once a player reaches 50 points.

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.

score updating problem in code .

1 participant