Ejemplo n.º 1
0
 private bool CheckSuitComplete(ref board ThisBoard)
 {
     if (OurLastBest < ThisBoard.score)
     {
         OurLastBest = ThisBoard.score;
         ThisBoard.ExplainBoard("From Strategy");
         ThisBoard.LastBest = ThisBoard.score;
     }
     for (int i = 0; i < ThisBoard.Completed.Count; i++)
     {
         ThisBoard.AddSuitCompleted(ThisBoard.Completed[i].suit);
     }
     return(ThisBoard.score >= GlobalClass.MaxScore);
 }