Browse Source

Add GameLoop next steps

AIPlayer
FelixKrull 2 years ago
parent
commit
85336014de
  1. 8
      src/main/java/Game.java

8
src/main/java/Game.java

@ -16,9 +16,15 @@ public class Game {
do {
dice = p.rollDice();
c++;
if(p.checkFigureInBase(p.figures) == 4 && dice == 6) {
//choose
//moveToStart
} else {
//choose
//moveToDice
}
} while (g.checkDice(dice, p, c));
p.checkGameWin(p.figures);
}
}

Loading…
Cancel
Save