Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Mag...
by x86x87 on Friday September 15, 2023 @12:43PM
(#37525799)
Iy's not meant for humans to read directly. The compact representation helps performance amd storage a lot when it comes to looking at a lot of positions. If you were to store it as a json most of your time would be spent parsing.
[ Parent
| on HN ]
Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Mag...
by Timon3 on Friday September 15, 2023 @12:44PM
(#37525825)
This is illustrated very well in Sebastian Lague's video "Coding Adventure: Making a Better Chess Bot" (https://www.youtube.com/watch?v=_vqlIPDR2TU).
Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Mag...
by catapart on Friday September 15, 2023 @12:52PM
(#37525945)
Awesome video and, I'll admit, the timing makes me curious to know if that video maybe inspired some devs to either pick up this kind of encoding work, or maybe just to finish up some encoding work that they had already started.
Most likely unrelated, I know! Just a wondering in passing.
Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Mag...
by Timon3 on Friday September 15, 2023 @01:01PM
(#37526077)
It's definitely possible! Even more so considering Sebastian also started a Coding Challenge for Tiny Chess Bots: https://www.youtube.com/watch?v=iScy18pVR58