I was playing a game with a friend online. A situation came up where he put me in check with his bishop, and I moved my rook to block it. His king was on the g file and my rook was on g2. The website ...
The title says it. Reading up on how to describe the position of a board, all of the requirements make sense (like two kings not being on adjacent squares and so on) except for the active color being ...
I am doing a personal project, where at one point I need to validate the FEN position, I started with some basics checks, such as check if there are kings and making sure there aren't any extra rows ...
Especially in blitz or bullet games, it is possible that a player makes an illegal move, for example castles through check. If the opponent does notice the illegal move, then as far as I know the ...