diff --git a/src/ch/zhaw/catan/Parser.java b/src/ch/zhaw/catan/Parser.java index 6cf7edf..5507656 100644 --- a/src/ch/zhaw/catan/Parser.java +++ b/src/ch/zhaw/catan/Parser.java @@ -28,14 +28,14 @@ public class Parser { public HashMap gameStart(){ HashMap gameStartValues = new HashMap<>(); gameStartValues.put("NumberOfPlayers", textIO.newIntInputReader().withMinVal(2).withMaxVal(4).read("Number of players:")); - gameStartValues.put("NumberOfWinPoints", textIO.newIntInputReader().withMinVal(5).withMaxVal(15).read("Winpoint needed for Victory:")); + gameStartValues.put("NumberOfWinPoints", textIO.newIntInputReader().withMinVal(5).withMaxVal(15).read("Winpoints needed for Victory:")); return gameStartValues; } public void giveCoordinatesForStructures(Config.Structure structure) { textTerminal.println("Please insert coordinates for " + structure); if(structure == Config.Structure.ROAD) { - textTerminal.println("You are building a road, please first insert the start coordinate and when prompted again the coordinate of the end of the road."); + textTerminal.println("Please first insert the start coordinate and when prompted again the coordinate of the end of the road."); } } @@ -46,7 +46,7 @@ public class Parser { } public void playerTurn(Config.Faction faction) { - textTerminal.println("It is" + faction + "'s turn."); + textTerminal.println("It is " + faction.name() + "'s turn."); } public void errorMessage(){