niklasf/chessops

Test for standard material

niklasf opened this issue · 0 comments

Add methods like Chess.isStandardMaterial(), Horde.isStandardMaterial(), etc. to check if the current material configuration is reachable from the starting position of the respective variant.

Useful, because Stockfish (and probably other engines) do not guarantee to correctly handle impossible material configurations.