pensquid / yobmef

Weird toy chess engine written *very much from scratch* in Rust.
14 stars 1 forks source link

Refactor search to use negamax #22

Closed UlisseMini closed 3 years ago

UlisseMini commented 3 years ago

Would get rid of the duplication, make the code shorter and make the code shorter and more maintainable.

UlisseMini commented 3 years ago

Related note: I think I can refactor negamax to just return an evaluation. Then just use the PV. (might be able to get rid of SearchResult altogether)