private void InitiateBoard(string fen)
 {
     HumanPlayer          = ChessPieceColor.White;
     ChessBoard           = new Board(fen);
     ChessBoard.WhoseMove = ChessPieceColor.White;
     PieceMoves.InitiateChessPieceMotion();
     GenerateValidMoves();
 }
Esempio n. 2
0
 private void InitiateBoard(string fen)
 {
     AIblack              = new AIMinMaxAlfaBeta();
     AIwhite              = new AIrandom();
     HumanPlayer          = ChessPieceColor.White;
     ChessBoard           = new Board(fen);
     ChessBoard.WhoseMove = ChessPieceColor.White;
     PieceMoves.InitiateChessPieceMotion();
     GenerateValidMoves();
 }
Esempio n. 3
0
 private void InitiateEngine()
 {
     this.GameDifficulty  = ChessEngine.Engine.Engine.Difficulty.Medium;
     this.MoveHistory     = new Stack <MoveContent>();
     this.HumanPlayer     = ChessPieceColor.White;
     this.OpeningBook     = new List <OpeningMove>();
     this.CurrentGameBook = new List <OpeningMove>();
     PieceMoves.InitiateChessPieceMotion();
     this.LoadOpeningBook();
 }
Esempio n. 4
0
        private void InitiateEngine()
        {
            GameDifficulty = Difficulty.Medium;

            MoveHistory     = new Stack <MoveContent>();
            HumanPlayer     = ChessPieceColor.White;
            OpeningBook     = new List <OpeningMove>();
            CurrentGameBook = new List <OpeningMove>();
            PieceMoves.InitiateChessPieceMotion();
            LoadOpeningBook();
        }
Esempio n. 5
0
        private void InitiateEngine()
        {
            GameDifficulty = Difficulty.Medium;

            MoveHistory = new Stack <MoveContent>();
            HumanPlayer = ChessPieceColor.White;
            if (OpeningBook == null)
            {
                OpeningBook = new Book(true);
            }
            CurrentGameBook = new Book();
            PieceMoves.InitiateChessPieceMotion();
        }