Show HN: NES Contra (1987) port (ASM –> C and then C –> WebAssembly)
1 comments
- Points93
- Comments81
1 comments
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
Story details from Hacker News ↗ · linked article on epoyraz.github.io.
Show HN: NES Contra (1987) port (ASM –> C and then C –> WebAssembly) was first seen by Trendoday on Oct 31, 2026. Since then it has appeared in 113 checks on 5 different days, across 2 lists (Hacker News · Front page, Hacker News · Show HN · this week). It reached #14 on Hacker News · Front page on Nov 1, 2026 UTC. It was last seen on Hacker News · Front page on Nov 1, 09:22 UTC.
Best recorded rank on Hacker News · Front page per UTC day.
Best rank per day (UTC).
| List | Best | Days | Checks | Last seen |
|---|---|---|---|---|
| Hacker News · Front page | #14 · Badge | 2 | 54 | |
| Hacker News · Show HN · this week | #16 · Badge | 3 | 59 |
A few top-level comments from Hacker News, shortened. Read the full thread on Hacker News.
Wow, the source 6502 assembly with comments is incredible: https://github.com/vermiceli/nes-contra-us/blob/main/src/ban... The whole thing (all banks) is more than 10,000 lines of assembly code. When I wrote assembly code for a university computer science course, it was hard to manage even 200 lines. I cannot imagine…
But the Japanese Contra was so much better! https://www.youtube.com/shorts/CiXzONyCDW0
Is the audio not supposed to work? I was hoping to hear the legendary tracks!
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. Its last recorded appearance was on Nov 1, 09:22 UTC.
#14 on Nov 1, 2026 UTC.
It was first seen on Oct 31, 2026 and has been on the list on 5 days (113 checks) since.
93 points and 81 comments; submitted by tevlon on Oct 31, 2026.