aboutsummaryrefslogtreecommitdiff
path: root/benches/negamax.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-01-25 03:12:20 +0300
committereug-vs <eugene@eug-vs.xyz>2023-01-25 03:12:20 +0300
commit46b862a25203cb492dd45ba1696a28338a42065b (patch)
tree3a68d3e5e99e514a303a2842653cbbfa3dc5bf3b /benches/negamax.rs
parent05e6d002225f561c9725b25ef7960bc10421f723 (diff)
downloadchessnost-46b862a25203cb492dd45ba1696a28338a42065b.tar.gz
feat: incrementally update zobrist hash
Diffstat (limited to 'benches/negamax.rs')
-rw-r--r--benches/negamax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/negamax.rs b/benches/negamax.rs
index b9e38df..33c90ea 100644
--- a/benches/negamax.rs
+++ b/benches/negamax.rs
@@ -13,8 +13,8 @@ fn main() {
board.print();
for mov in pv {
println!("{:?}", mov);
+ println!("Eval for {:?}: {}", board.color(), board.evaluate(None));
board.make_move(mov);
board.print();
- println!("Eval for {:?}: {}", board.color(), board.material_advantage());
}
}