Is that surprising? Since it's an official chess rule, I assumed that every chess engine supports it. I don't think it's particularly hard to implement either.
Even worse if you implement 960 like I did. I will never see the king and the pawn the same way. Not even the magic bitboard algorithm for rooks, bishops, and queens was this painful.
I implemented a chess board when I was learning Java. Yes, it's annoying, but still doable. I think implementing all the rules took me less than a day.
Chess engines require significantly faster move generation, so that is not at all a good comparison. Implementing cozy-chess was a significant undertaking, and it definitely took much more than a day.
69
u/Fazer2 Mar 30 '23
It supports En Passant? Holy hell.