コード例 #1
0
        public Player(string name)
        {
            Name = name;

            PrimaryBoard = new PrimaryBoard();
            MarkingBoard = new MarkingBoard();
        }
コード例 #2
0
        public TaikyokuImpl
        (
            int boardSize,
            ComputerPlayerA computerPlayer,
            Board goban,
            MarkingBoard markingBoard,
            CountedBoard countedBoard,
            BoardPrinterA boardPrinter
        )
        {
            this.computerPlayer = computerPlayer;
            this.Goban          = goban;
            this.MarkingBoard   = markingBoard;
            this.CountedBoard   = countedBoard;
            this.BoardPrinter   = boardPrinter;

            this.MyKo               = new GobanPointImpl();
            this.YourKo             = new GobanPointImpl();
            this.OpeningZyosekiFlag = new bool[9];

            this.GobanBounds = new GobanRectangleImpl(boardSize);
        }