Show HN: NES Contra (1987) port (ASM –> C and then C –> WebAssembly)

·Hacker News··

Based on vermiceli's annotated disassembly of Contra: https://github.com/vermiceli/nes-contra-us. Thanks for the great work.I ported it in two steps. First to C: the game logic is translated routine by routine from the 6502 assembly, and checked frame by frame against the original in the Mesen emulator. Then the C code to WebAssembly so it runs in the browser.The cherry on top: online multiplayer, so two players can play co-op over the internet.Source: https://github.com/epoyraz/nes-contra-us

Read full article →

Related Articles

GPT-5.6 Sol can beat Factorio on peaceful mode
ryanmadden · Hacker News · 2h ago
UK Green party drops longstanding opposition to nuclear power
mpweiher · Hacker News · 3h ago
Malware uses LLMs to rank victims by how much they're worth
khalidkhair · Hacker News · 7h ago
TCP Use-After-Free: CVE-2026-98432 / CVSS 9.8
oger · Hacker News · 2h ago
Backdoor in Claude Code for VS Code extension on the Cursor Marketplace
_chall · Hacker News · 1d ago