From c88d85f5755cf1452c19f1a14e349a13fa378cb2 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Fri, 10 Dec 2021 11:00:05 +0100 Subject: [PATCH] changes in README.md --- README.md | 6 +++--- src/ch/zhaw/catan/SiedlerGame.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9871bab..cb41fb6 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ to be able to dominate your friends. #Rules 1. The min. Player amount is 2 and the max. Player amount is 4. -2. Each Player can build a road and a settlement free of cost at the beginning of -the game. +2. Each Player can build two roads and two settlements free of cost at the beginning of +the game. After the placement, each player gets resources from the field around the second settlement. 3. Every Player is being sorted into a faction. There cannot be two players in the same faction. 4. A player cannot build two settlements or cities right next one another. @@ -25,7 +25,7 @@ For a more detailed version of the rules please look here: https://www.catan.de/ #Usermanual First the program will ask how many players will be playing the game. The minimum amount of players is 2 and the maximum amount of players is 4. Each player will -be appointed to a faction. Now every player can build a settlement and a road +be appointed to a faction. In the next step, the program ask for the number of win points. The first player who reaches this number of win points, will win the game. Now every player can build a settlement and a road after every player has built a settlement and road, they can build a second settlement and road in reversed order. When the players build their second settlement they then receive the resources surrounding that specific settlement. diff --git a/src/ch/zhaw/catan/SiedlerGame.java b/src/ch/zhaw/catan/SiedlerGame.java index 23057fa..7e14467 100644 --- a/src/ch/zhaw/catan/SiedlerGame.java +++ b/src/ch/zhaw/catan/SiedlerGame.java @@ -30,8 +30,8 @@ public class SiedlerGame { * * @param winPoints the number of points required to win the game * @param numberOfPlayers the number of players - * @throws IllegalArgumentException if winPoints is lower than - * three or players is not between two and four + * @throws IllegalArgumentException if winPoints is lower than 3 + * or players is not between two and four */ public SiedlerGame(int winPoints, int numberOfPlayers) { if (winPoints < 3 || numberOfPlayers < Config.MIN_NUMBER_OF_PLAYERS || numberOfPlayers > 4) {