Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, which means you carry one bit of extra information - "is castling still allowed". The specific moves that resulted in this bit being unset don't matter.


Ok, then for this you need minimum of two bits - one for kingside Rook and one for the queenside Rook, both would be set if you move the King. You also need to count moves since the last exchange or pawn move for the 50 move rule.


Ah, that one's cool - I've got to admit I've never heard of the 50 move rule.


Also the 3x repetition rule.


And 5x repetition rule




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: