#Stockfish making illegal moves at low depth?
8 messages · Page 1 of 1 (latest)
i'll try to get a log file if i can
but if you are just letting stockfish play n moves and then storing the final fen, you should make sure that there's no possibility for stockfish to capture the enemy king cause that can lead to weird stuff
so you need to check if the game has ended
this is not something sf does
dw im using a library that handles all of that automatically (e.g. throws an error if that sort of move is played)
it wouldn't let a king next to a king or something like that either
i think i see a bug in my code