public void PlayAll(ITrackScores scoreBoard) { var fixtures = _fixtureCreator.GetFixtures(); foreach (var fixture in fixtures) { var botOne = _botCreator.Create(fixture.BotOneName); var botTwo = _botCreator.Create(fixture.BotTwoName); var game = _gameCreator.Create(botOne,botTwo); game.Play(); botOne.SendGameOver(); botTwo.SendGameOver(); game.ReportWinner(scoreBoard); } }
public void ReportWinner(ITrackScores scoreBoard) { scoreBoard.ReportWinner(_winnerName); }
public void ReportWinner(ITrackScores scoreBoard) { }