Exemplo n.º 1
0
 static int Evaluate(Game game, uint depth)
 {
     var emptyCount = game.EmptyNumberCount();
     var smoothness = game.Smoothness();
     var monotonicity = game.Monotonicity();
     var maxNumber = game.MaxNumber();
     //if (emptyCount == 0)
     //    return smoothness + monotonicity * 3 + maxNumber * 10 + emptyCount * 50;
     return smoothness + monotonicity * 10 + maxNumber * 10 + emptyCount * 25; /*+ game.Coherence() * 2*///- (int)depth;
 }