private void InitiateBoard(string fen) { HumanPlayer = ChessPieceColor.White; ChessBoard = new Board(fen); ChessBoard.WhoseMove = ChessPieceColor.White; PieceMoves.InitiateChessPieceMotion(); GenerateValidMoves(); }
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(); }
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(); }
private void InitiateEngine() { GameDifficulty = Difficulty.Medium; MoveHistory = new Stack <MoveContent>(); HumanPlayer = ChessPieceColor.White; OpeningBook = new List <OpeningMove>(); CurrentGameBook = new List <OpeningMove>(); PieceMoves.InitiateChessPieceMotion(); LoadOpeningBook(); }
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(); }