The source code takes just 1024 bytes, making it the worlds smallest chess program that implements both castling and a peasant capture. The only limitations are that you always play white pieces and pawn promotion is limited to the queen.