3 ms·
I got nerd sniped and compressed it to under 28K, which was good enough for the goal of fitting it in a 32K NROM cartridge for the NES. On the NES, you don’t ne
by dietrichepp 5y ago
I got nerd sniped and compressed it to under 28K, which was good enough for the goal of fitting it in a 32K NROM cartridge for the NES. On the NES, you don’t need to do better than that, because you get a separate 8K for graphics, and 4K is plenty of space to fit the code for your Wordle clone.
https://www.moria.us/blog/2022/01/dictionary-compression https://www.moria.us/blog/2022/01/dictionary-compression
The annoying part is that the NES only gives you four background palettes, and you are constrained to use all four of those to color your words.
- operator-name 5y agoBoth of these ideas remind me of tries and radix trees.
- mzs 5y agoNice! Do you have a repo somewhere?
- dietrichepp 5y agoI’ll put one sometime relatively soon, got some other stuff on my plate. The Wordle clone is currently “mostly functional”—no pretty graphics or anything, but gameplay checks. I have a limited stamina for NES programming, but I had fun with the proof of concept.