Merge remote-tracking branch 'origin/main'

This commit is contained in:
Leonardo Brandenberger committed 2021-12-10 11:11:27 +01:00
commit 9096e28d78
4 files changed
+267 -169

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) {