ScoredTurn
One legal turn plus the score the bot that chose it assigned to the resulting position — bestTurn's result, and the JVM counterpart of the JS getBestMove's { moves, score }.
uci and finalState mean exactly what they do on Turn, finalState included: it has '''not''' been passed through endTurn.
'''score is on the scale of the bot that produced it, and on no other.''' Only the sign and the ordering are common to all of them: higher is better for the side that played the turn, and Integer.MAX_VALUE means the turn captures the opponent's king. The unit is not: the material-scoring bots (greedy, greedy-v2, aggressive, checkmate-aware) return centipawns comparable with evaluate, while monte-carlo returns an estimated win probability scaled to 0–1000000, where a level position sits near 500000. Compare scores only among turns from one call to one algorithm; reading a monte-carlo score as centipawns overstates the position by three orders of magnitude.
Attributes
- Source
- JvmApi.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any