fn heuristic(
blueprint: &Blueprint,
result: u32,
time: u32,
bots: Mineral,
resources: Mineral,
) -> bool
Expand description
Simplify the blueprints so that we only attempt to build either geode or obsidian robots, then check that the estimated maximum possible score is greater than the current high score. Additionally we always build a clay robot each turn.
Since this will always score higher, so we can immediately prune any branch that can’t possibly beat the high score.