Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jiggawatts
on Sept 16, 2023
|
parent
|
context
|
favorite
| on:
How to store a chess position in 26 bytes using bi...
Replying to my own post: it seems each move can be packed into 8 bits in all but a few rare scenarios such as having many promoted pawns as queens on the board.
See:
https://www.chessprogramming.org/Encoding_Moves#Per_Piece_an...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
See: https://www.chessprogramming.org/Encoding_Moves#Per_Piece_an...