Exemple #1
0
 private Chess(Board board)
 {
     _board = board;
     Fen    = board.Fen;
     moves  = new Moves(_board);
 }
Exemple #2
0
 public Chess(string fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1")
 {
     Fen    = fen;
     _board = new Board(fen);
     moves  = new Moves(_board);
 }