ChessApplication.ChessEngine.TerminalCondition Function
Determine of a terminal condition has been reach i.e. Win,Loose,Draw

Protected bool TerminalCondition (ChessApplication.ChessMove[], ChessApplication.ChessBoard, int, double)
  Type Name Description  
    ChessMove moves Moves created as successors of board  
    ChessBoard board The current state  
    int level The search level/depth  
    out double retValue The value to return of terminal condition has been reached  
  Return Description  
    bool Returns true if terminal condition has been reached