Following in the footsteps of predecessors, I implemented a CHIP-8 emulator by learning from existing projects.
cd ./rsc8_wasm
cargo install wasm-pack
rustup target add wasm32-unknown-unknown
wasm-pack build --target web
mv ./pkg/rsc8_wasm_bg.wasm ../web
mv ./pkg/rsc8_wasm.js ../web
cd ./web
python -m http.server
Keyboard Keypad
--------------------
1 2 3 4 1 2 3 C
Q W E R => 4 5 6 D
A S D F 7 8 9 E
Z X C V A 0 B F
Press Esc
to exit