N1ckn1ght / CCE

Custom chess engine, but abandoned bitboardless attempt on Rust.
0 stars 0 forks source link

Calculated hash can be lost in some cases where it's needed #17

Open N1ckn1ght opened 1 year ago

N1ckn1ght commented 1 year ago

https://github.com/N1ckn1ght/CCE/blob/baa0b858f31e073badb09c1b00429f5d9ccbc5dd/src/engine/minimax.rs#L187

Doesn't seem correct to me...

N1ckn1ght commented 1 year ago

No, it's actually correct since the hash will be inserted there OR at the point of comparison if it's different. BUT 89 row needs to be changed!