N1ckn1ght / CCE

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

Board method if_any_move is possible for faster minimax analysis on leafs #16

Open N1ckn1ght opened 1 year ago

N1ckn1ght commented 1 year ago

instead of

get_leval_moves if moves > 0 is depth > 0

check for

if depth > 0 . get_leval_moves . if moves > 0 if moves > 0

which will be slightly faster