From 85336014de29611e8e811d93fe6ae927939c64c3 Mon Sep 17 00:00:00 2001 From: FelixKrull Date: Tue, 1 Feb 2022 10:55:36 +0100 Subject: [PATCH] Add GameLoop next steps --- src/main/java/Game.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/Game.java b/src/main/java/Game.java index ba7a903..4e41325 100644 --- a/src/main/java/Game.java +++ b/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); } }