Browse Source

Hotfix checkDice

develop
Jonas Wagner 2 years ago
parent
commit
145e811eeb
  1. 2
      src/main/java/Game.java

2
src/main/java/Game.java

@ -73,7 +73,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