changes in README.md
This commit is contained in:
1 parent
c9757f22fc
commit
c88d85f575
2 files changed
+5
-5
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user