Skip to content

Commit

Permalink
bugfix 4 black to value 6
Browse files Browse the repository at this point in the history
  • Loading branch information
mklemmingen committed Dec 10, 2023
1 parent fe3c2cf commit 3dbec5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/com/senetboom/game/backend/Stick.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ public Stick() {
this.stickRolls[i] = new StickRoll();
this.stickValue += this.stickRolls[i].getStickRoll();
}
if(stickValue == 0){ // 4 blacks equal value 6
stickValue = 6;
}

// create RollingsSticks actor and add to stage
RollingSticks rollingSticks = new RollingSticks();
Expand Down

0 comments on commit 3dbec5c

Please sign in to comment.