Browse Source

Merge commit '9a09e3deedd754ef18154bea6f9f5a4f90860832' into HEAD

master
Jenkins 3 years ago
parent
commit
1297ba4faa
  1. 2
      src/main/java/Game.java

2
src/main/java/Game.java

@ -52,7 +52,7 @@ public class Game {
public boolean checkDice(int dice, Player p, int countRolls) { public boolean checkDice(int dice, Player p, int countRolls) {
int figuresInBase = p.checkFigureInBase(p.figures); int figuresInBase = p.checkFigureInBase(p.figures);
if(figuresInBase == 4) { if(figuresInBase == 4) {
return countRolls <= 3;
return countRolls < 3;
} else return dice == 6; } else return dice == 6;
} }

Loading…
Cancel
Save