jaige
Class Tournament

java.lang.Object
  extended by jaige.Tournament

public class Tournament
extends java.lang.Object


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

Constructor Detail

Tournament

public Tournament(GameBoard board)
Method Detail

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)