News for hackers. Stuff that matters.
Re:ChesSkelet: Micro Chess Game for ZX Spectrum in 365 Bytes by aj7 on Saturday March 30, 2019 @06:24AM (#19528726)
Not chess if no en passant, castling, etc. It’s a prototype that’s demonstrated when the programmer realizes the “exceptions” double the code length, or aren’t worth it because he’s not a chess player.
Re:ChesSkelet: Micro Chess Game for ZX Spectrum in 365 Bytes by sago on Saturday March 30, 2019 @07:40AM (#19528927)
These 'minimal chess' programs trace their lineage (and mostly their rules) back to ZX Chess [0] for the ZX81, which was a significant accomplishment, and remains notable in the history of personal computing, cropping up from time to time in lists of the greatest program ever written. It says this at the top of the page.

It is not a naive prototype. I'd be very surprised if the programmer couldn't play chess. It's a part of computing history. And the competition to reduce the number of bytes is > 35 years old.

[0] https://en.wikipedia.org/wiki/1K_ZX_Chess

Re:ChesSkelet: Micro Chess Game for ZX Spectrum in 365 Bytes by mrob on Saturday March 30, 2019 @07:12AM (#19528856)
En passant is rare enough that it's still more or less the same game without it, but castling is extremely common. Deciding when to castle is a major part of chess strategy, and I agree that it's not really chess without it.