TerjeKir / weiss

Weiss - a UCI chess engine
GNU General Public License v3.0
102 stars 18 forks source link

Check that the king doesn't end in check for pseudo-legality of castling #671

Closed TerjeKir closed 1 year ago

TerjeKir commented 1 year ago

Avoids generating some illegal castling moves, as well as slightly lowering the chance of using illegal moves from TT and killers.

Bench: 19389515