martinnovaak / motor

UCI chess engine written in C++
19 stars 3 forks source link

Movegen refactor #17

Closed martinnovaak closed 1 year ago

martinnovaak commented 1 year ago

2 bug fixes: 1) in rare ocassions can castling give horizontal check. 2) now initial position can be in check

Some refactoring of unused code and optimilization of generating discovery attack. Speed up approximately of 5%.