示例#1
0
文件: Chess.cs 项目: Dloz/Chess
 private Chess(Board board)
 {
     _board = board;
     Fen    = board.Fen;
     moves  = new Moves(_board);
 }
示例#2
0
文件: Chess.cs 项目: Dloz/Chess
 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);
 }