Пример #1
0
 /// <summary>
 /// Handles responsible for generating moves and updating game state every time the game (board) changes.
 /// </summary>
 private void HandleGameHasChanged()
 {
     m_possibleMoves.Clear();
     m_board.GeneratePseudoLegalMoves(m_possibleMoves);
     m_possibleMoves.RemoveSelfCheckingMoves(m_board);
 }