|
@ -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; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|