Closed Mauritz8 closed 11 months ago
This is how fast it is before implementation:
And this is after implementing it:
It made a huge difference! When I implement better move ordering, this effect will be even more significant, since more moves will be pruned.
currently it loops through all the psuedo legal moves and checks if they leave the king in check, and only those that do not are sent to the search. It would be much more efficient to see if each move leaves the king in check in the search, since a lot of moves are pruned anyways.