jaige
Class Season
java.lang.Object
jaige.Season
public class Season
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Season
public Season(GameBoard board)
addPlayers
public boolean addPlayers(java.util.List<? extends Player> players)
addPlayer
public boolean addPlayer(Player p)
startSeason
public void startSeason()
setIndividualGameCount
public void setIndividualGameCount(int count)
- Sets the total number of games that each AI will play each other.
This defaults to 10, meaning that each AI will play each other 10 times.
- Parameters:
count
- int Total number of games to play each AI
setTotalGameCount
public void setTotalGameCount(int count)
- Sets the total number of games that will be played for the season per AI.
If this is set to 100, then the individual game count gets set to 100 / (total number of players-1).
This means that the total number of games played will be an estimate.
If there are 9 players, and this is set to 100 games, then each AI will play each other AI 12 times, for a total of 96 games.
- Parameters:
count
- int