コード例 #1
0
        public void GetMove_6LinesGarbage_LogResults()
        {
            var field = Field.Create(0, 0, 0, @"
..........
..........
..........
..........
..........
..........
..........
..........
..........
..........
..........
..........
..........
..........
XXXX.XXXXX
XXXXX.XXXX
XXXX.XXXXX
X.XXXXXXXX
XXXXXXXX.X
XXXX.XXXXX");
            var dm    = new NodeDecisionMakerTester()
            {
                Evaluator    = new Evaluator(),
                Generator    = new MoveGenerator(),
                MaximumDepth = 7,
            };

            dm.GetMove(field, Block.T, Block.T, 1);
        }
コード例 #2
0
        public void GetMove_SmallBoard_LogResults()
        {
            var field = Field.Create(8, 1, 1, @"
..........
..........
..........
XXXXX.....");
            var dm    = new NodeDecisionMakerTester()
            {
                Evaluator    = new Evaluator(),
                Generator    = new MoveGenerator(),
                MaximumDepth = 6,
            };

            dm.GetMove(field, Block.O, Block.Z, 1);
        }