That 8-bit code is clever.<p>At <a href="http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;1831386&#x2F;programmer-puzzle-encoding-a-chess-board-state-throughout-a-game&#x2F;1838023#1838023" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;1831386&#x2F;programmer-puzzle...</a> I suggested combining the sort-the-moves-by-their-evaluation scheme with arithmetic coding according to statistics from a database of games -- how often do people choose the move the engine picks as best? Etc. (It&#x27;s always easy to propose work for someone else.) (The third paragraph of that answer is irrelevant to real games, which always start from the same configuration.)