wordle-trie-packing
wasmboy
Our great sponsors
wordle-trie-packing | wasmboy | |
---|---|---|
5 | 3 | |
2 | 1,358 | |
- | - | |
4.7 | 0.0 | |
about 2 years ago | about 1 year ago | |
Python | WebAssembly | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wordle-trie-packing
-
Game Boy Wordle clone: How to compress 12972 five-letter words to 17871 bytes
```
Doing this, and then doing the variable length encoding I got the file down to 13,181 bytes (it was 13,180 bytes, but I needed to add a 7 bit termination string so that you can properly decode the file after you write it to disk, otherwise when the file rounds to the nearest byte you have random 0s that get decoded).
I'm sure with some twiddling of the alphabets some more you could save a few more bytes, but this does better than both Brotli on a ASCII trie and the Huffman Trie by almost 1KB (https://github.com/adamcw/wordle-trie-packing#all-words), so I'm very happy.
wasmboy
- Any Gameboy step by step emulator?
-
Game Boy Wordle clone: How to compress 12972 five-letter words to 17871 bytes
Looks like you can try it out on this webassembly Gameboy emulator https://wasmboy.app/
-
Writing a Game Boy Emulator in OCaml
As u/yawaramin mentioned, unfortunately, there is no standard battle-tested way of compiling OCaml to WASM. If your goal is to try out WASM, Rust should be a pretty safe choice. There are existing Rust + WASM Game Boy emulators such as wasmboy and gopher-boy.
What are some alternatives?
wordle - Finding optimal play in the game of wordle
gbemu - WebAssembly based Gameboy Emulator
roadroller - Roadroller: Flattens Your JavaScript Demo
gb-wordyl - A word game for the Nintendo Game Boy / Color, Analogue Pocket, Mega Duck
ZLib - A massively spiffy yet delicately unobtrusive compression library.
vaporBoy - Gameboy / Gameboy Color Emulator PWA built with Preact. ⚛️ Powered by wasmBoy. 🎮Themed with VaporWave. 🌴🐬
gopher-boy - :video_game: A Game Boy emulator written in Go
gem - A Gameboy Color emulator and debugger
owi - WebAssembly Swissknife