in reply to Re: [OT] Is It Possible To Serialize A Chess Board In Fewer Than 23 Bytes?
in thread [OT] Is It Possible To Serialize A Chess Board In Fewer Than 23 Bytes?
I think you forgot promotion of pawns at the last rank
Maybe, maybe not. Either way, his approach correctly handles promotions.
As for you, it's not just promotions you don't handle. You don't support capturing either! You'd need a length prefix or more bits to encode that a piece is off the board.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: [OT] Is It Possible To Serialize A Chess Board In Fewer Than 23 Bytes?
by LanX (Saint) on Mar 11, 2026 at 00:53 UTC | |
by ikegami (Patriarch) on Mar 11, 2026 at 13:57 UTC |