From f30c145dcf9d1fc70543458cf4be4d3a17eca6a0 Mon Sep 17 00:00:00 2001 From: Leonardo Brandenberger Date: Fri, 10 Dec 2021 10:52:58 +0100 Subject: [PATCH] Finished Class Parser just one open question remaining winpoints (Cleanup and Javadoc) --- src/ch/zhaw/catan/Parser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ch/zhaw/catan/Parser.java b/src/ch/zhaw/catan/Parser.java index a43352a..4a79ac5 100644 --- a/src/ch/zhaw/catan/Parser.java +++ b/src/ch/zhaw/catan/Parser.java @@ -77,6 +77,7 @@ public class Parser { gameStartValues.put("NumberOfPlayers", textIO.newIntInputReader().withMinVal(Config.MIN_NUMBER_OF_PLAYERS).withMaxVal(4).read("Number of players:")); gameStartValues.put("NumberOfWinPoints", textIO.newIntInputReader().withMinVal(5).withMaxVal(15).read("Winpoints needed for Victory:")); return gameStartValues; + //Todo find out how many max and min Win Points } /** @@ -102,7 +103,7 @@ public class Parser { } /** - * Outputs which player currently is at turn + * Outputs which player currently is at turn. * * @param faction the faction which turn it is */