Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -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