public void SetUp() { playerIds = new[] { 0, 1, 2 }; var banker = new TraditionalBanker(playerIds); turnFactory = new TraditionalTurnFactory(banker); game = new Game(playerIds, turnFactory); }
private void CreateAndPlayGame(IEnumerable<Int32> playerIds) { var banker = new TraditionalBanker(playerIds); var turnFactory = new TraditionalTurnFactory(banker); game = new Game(playerIds, turnFactory); game.Play(); }