示例#1
0
 /// <summary>
 /// Main constructor.
 /// </summary>
 /// <param name="players"></param>
 /// <param name="goban"></param>
 public GameContext(Goban goban, Player[] players)
 {
     _players = players;
     _goban   = goban;
 }
示例#2
0
        /// <summary>
        /// Main constructor.
        /// </summary>
        /// <param name="goban"></param>
        /// <param name="players"></param>
        public Game(Goban goban, Player[] players)
        {
            GameContext gameContext = new GameContext(goban, players);

            _turns.Add(new Turn(gameContext));
        }