22 Jun 2022
after 2 am
- almost completed legal move generation function
- issue: sometimes switches black and white during random play
- issue: handling castling rights and enpassant squares while undoing a move
23 Jun 2022
after 12 am
- bugfix:
san
notation doesn't show promotion - added
perft
anddivide
function - now we can find corner cases easily!
2 am
- wasted 1 hour on why I'm getting 1 move less than expected reason: code generates kingside
else
queenside castling moves 🥲3 am
- bugfix: now engine checks threatened squares during castling
- improved
perft
function - still a lot of things to do (getting wrong
perft
results)
Comments
Post a Comment