sroelants / simbelmyne

A somewhat UCI compliant chess engine that could probably beat you.
GNU General Public License v3.0
15 stars 1 forks source link

Add endgame table using material key #290

Open sroelants opened 4 weeks ago

sroelants commented 4 weeks ago

Nifty trick I saw in Stash and Weiss: keep track of an additional Zobrist key that only counts material (and count), so we have a trivial way of looking up whether the position is a known draw, or we can do some smarter stuff to analyze the position further. (Count pawns, look at the bishops, etc...)