Implementing TournamentCalc.