Example #1
0
 public ChessBot()
 {
     isWhiteNextMove = true;
     movesHystory    = new List <string>();
     depth           = 15;
     stockfish       = new Stockfish.NET.Stockfish(@"stockfish.exe")
     {
         SkillLevel = 20
     };
 }
Example #2
0
        public Fish(Moves moves)
        {
            this.moves   = moves;
            defaultDepth = 15;

            stockfishHard = new Stockfish.NET.Stockfish(@"stockfish.exe")
            {
                SkillLevel = 20,
                Depth      = defaultDepth
            };
        }
Example #3
0
        public ChessBot(Writer console)
        {
            isWhiteNextMove = true;
            this.console    = console;
            autoIt          = new Autoit(console, "LDPlayer-1");
            openCV          = new OpenCV();
            chessBoard      = new ChessBoard(console, openCV, autoIt);

            movesHystory = new List <string>();
            depth        = 15;
            stockfish    = new Stockfish.NET.Stockfish(@"stockfish.exe")
            {
                SkillLevel = 20
            };
            stockfishF = new Stockfish.NET.Stockfish(@"stockfish.exe")
            {
                SkillLevel = 17,
                Depth      = 12
            };

            console.WriteLine("Loaded");
        }