logoalt Hacker News

vntoklast Friday at 7:25 PM1 replyview on HN

If the rook has the king's position, it's never moved. As soon as it moves, it can have any position except the king's.


Replies

4rtlast Friday at 8:01 PM

i think i just misunderstood the writing, it does explicitly say 4bits for castling. the prose around is just describing what castling is - i thought it was implying that you could determine whether castling is possible from the position of the pieces.

show 2 replies