Browse Source

Fix counter for Dice Rolls

AIPlayer
FelixKrull 2 years ago
parent
commit
3365978164
  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) {
int figuresInBase = p.checkFigureInBase(p.figures);
if(figuresInBase == 4) {
return countRolls <= 3;
return countRolls < 3;
} else return dice == 6;
}

Loading…
Cancel
Save