I wrote the NES emulator with Rust and WebAssembly to learn Rust. It’s not perfect and have some audio bugs, but it’s good enough to play Super Mario bros. TL;DRHere is the source code. Also, you can play the game in the canvas below The Nintendo Entertainment System (NES)The Nintendo Entertainment System (NES) was the world’s most widely used video games. CPU 6502(RP2A03), 8bit 1.79MHzPPU Picture