Пример #1
0
        public Game(IEnumerable <Int32> playerIds, ITurnFactory turnFactory)
        {
            this.PlayerIds   = playerIds.ToList();
            this.turnFactory = turnFactory;
            this.Rounds      = 0;

            PlayerIds = PlayerIds.Shuffle();
            SetUpPlayerTurns();
        }