Пример #1
0
 public void LoadGame(string filename = null)
 {
     GameMessage.Message = ChessGame.LoadGame(filename);
     GameBoard.SetUpBoard(ChessGame.GameBoard);
 }
Пример #2
0
 public void NewGame(Player playerWhite, Player playerBlack)
 {
     GameMessage.Message = ChessGame.NewGame(playerWhite, playerBlack);
     GameBoard.SetUpBoard(ChessGame.GameBoard);
 }