Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Mag...
by jade-cat on Friday September 15, 2023 @01:03PM
(#37526101)
Fair enough. Still up to 50 board states that can influence the current one (the 50 move rule is coming to help here)
FEN doesn't store previous states, but EPD can. It just goes to show how meanings and requirements change depending on context, which is super interesting in and of itself :P
Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Mag...
by Scarblac on Friday September 15, 2023 @01:14PM
(#37526243)
Also, database software gets so clever with storing games that they often can't save games that have illegal moves in them. But there are plenty real games from real tournaments that had illegal moves in them that nobody noticed...
Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Mag...
by duskwuff on Friday September 15, 2023 @01:40PM
(#37526585)
What's the proper notation for "while White closes his eyes to think about his next move, Black quietly moves one of his pawns over a square"? :)
Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Mag...
by bjourne on Friday September 15, 2023 @03:29PM
(#37528054)
That's a very good point. Similar issues affect file systems that has to store files with invalid filenames and parsers that have to gracefully handle invalid parse trees.
Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Mag...
by LorenPechtel on Friday September 15, 2023 @04:27PM
(#37528705)
Yeah, I was trying to send a chess puzzle to someone on Gameknot.com. White to mate in 1--except there was no black king. (The objective was to mate anyway--find the move that would mate the black king no matter where it was.) Their encoder created the king.
Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Mag...
by teo_zero on Saturday September 16, 2023 @05:52PM
(#37539094)
Do you perhaps mean that there was no white king?
Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Mag...
by LorenPechtel on Saturday September 16, 2023 @07:01PM
(#37539679)
No black king--in other words, you don't know where the black king is since it must exist. The puzzle was to find the move that would mate the king no matter what square it was in.
But the standard, FEN, doesn't store that either. It's used more in the context of a full game than with individual positions.