changes in README.md

This commit is contained in:
schrom01 committed 2021-12-10 11:00:05 +01:00
1 parent c9757f22fc
commit c88d85f575
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -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) {