jaige
Class Tournament
java.lang.Object
jaige.Tournament
public class Tournament
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tournament
public Tournament(GameBoard board)
addPlayers
public boolean addPlayers(java.util.List<? extends Player> players)
addPlayer
public boolean addPlayer(Player p)
setGamesPerRound
public void setGamesPerRound(int games)
setMaxTieBreakerGames
public void setMaxTieBreakerGames(int max)
getHistory
public java.util.List<java.util.List<Match>> getHistory()
getTournementWinner
public Player getTournementWinner()
randomMatchup
public void randomMatchup()
rankedMatchup
public void rankedMatchup()
startTournament
public void startTournament()
bitCount
public static int bitCount(int number)