Esempio n. 1
0
 public GameEvaluation EvaluateGame(IBoard board, Color lastMover)
 {
     var eval = new GameEvaluation()
     {
         IsCheck = board.PlayingIsInCheck(lastMover),
         NumberOfValidMoves = board.GetAllMovesFor(ColorHelper.Reverse(lastMover),0).ToList().Count
     };
     return eval;
 }