From 33659781644c85221fa928a91b7eacb410c07fa9 Mon Sep 17 00:00:00 2001 From: FelixKrull Date: Sun, 13 Feb 2022 22:42:51 +0100 Subject: [PATCH] Fix counter for Dice Rolls --- src/main/java/Game.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/Game.java b/src/main/java/Game.java index 504800c..58b0632 100644 --- a/src/main/java/Game.java +++ b/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; }