diff --git a/src/ch/zhaw/catan/Siedler.java b/src/ch/zhaw/catan/Siedler.java index f46161f..5279482 100644 --- a/src/ch/zhaw/catan/Siedler.java +++ b/src/ch/zhaw/catan/Siedler.java @@ -69,7 +69,8 @@ public class Siedler { private static void throwDice(SiedlerGame game, Parser parser) { Random random = new Random(); - int thrownDices = random.nextInt(6) + random.nextInt(6); + //sum of two integers from 0-5 + 2 --> sum of two integers from 1-6 + int thrownDices = random.nextInt(6) + random.nextInt(6) + 2; parser.thrownDices(thrownDices); game.throwDice(thrownDices); }