Browse Source

Merge branch 'develop' into show2dDice

develop
FelixKrull 3 years ago
parent
commit
b3412a5f5e
  1. 2
      src/main/java/Game.java

2
src/main/java/Game.java

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

Loading…
Cancel
Save