diff --git a/src/logic/future_moves.rs b/src/logic/future_moves.rs index f368da7..e548b6a 100644 --- a/src/logic/future_moves.rs +++ b/src/logic/future_moves.rs @@ -220,6 +220,10 @@ impl FutureMoves { .map(|(i, &child)| self.arena[child].value * ((i + 1) as i128)) .sum::(); + // previously we used `depth` and divided `self_value` by it, idk if this is worth it + // we should really setup some sort of ELO rating for each commit, playing them against + // each other or something, could be cool to benchmark these more subjective things, not + // just performance self.arena[idx].value = self.arena[idx].self_value as i128 + children_value; } }