2048 in bash with only 64 bits of state Posted by homebrewer on Friday June 20, 2025 @12:45PM from the github.com dept. https://github.com/izabera/bitwise-challenge-2048 ( 4 comments | 5 points | on HN )
Nice job.
4x4 = 16 tiles, 64/16 = 4 bits, 16 powers of two = space for 0-65536 per tile.
So going up to only 2048 would leave some room even.
This one was posted a couple of days ago and it looks like it was surfaced by HNs algorithms. Since it's now basically a duplicate, it should probably be removed or hidden.