# Contra NES Native Port - Play the classic in your browser via WebAssembly

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

> Hacker News story 50319169 · language: en · submitted 2026-10-31
> Web version: https://zeli.app/story/50319169
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 89 · by [tevlon](<https://news.ycombinator.com/user?id=tevlon>) · 💬 80
[original](<https://epoyraz.github.io/nes-contra-us/>) · [HN discussion](<https://news.ycombinator.com/item?id=50319169>)

## Summary

Experience the 1987 NES classic Contra like never before with this native port that runs directly in your browser. The original assembly code was painstakingly converted to C and then compiled to WebAssembly, delivering authentic gameplay without emulation. Use keyboard controls (arrow keys to move, A/Space to jump, S to fire) or on-screen buttons. Two-player mode is supported: Player 1 selects '2 PLAYERS' with Shift on the title screen, and both players can use the same keys on their own computers online. It's a nostalgic trip that showcases the power of WebAssembly for preserving and sharing retro games.

## Key quote

> WOOHOO! HOORAY FOR NOSTALGIA!!!

## HN discussion (80 comments)

### [erictheguy](<https://news.ycombinator.com/item?id=50321948>)

> Nostalgic!! Took me a few tries to beat the first level haha

### [pmarreck](<https://news.ycombinator.com/item?id=50321866>)

> Where's the sound? You can likely ask AI to emulate the sound hardware with WASM!

### [raldi](<https://news.ycombinator.com/item?id=50320248>)

> But the Japanese Contra was so much better! https://www.youtube.com/shorts/CiXzONyCDW0

### [shinryudbz](<https://news.ycombinator.com/item?id=50320687>)

> Is the audio not supposed to work? I was hoping to hear the legendary tracks!

### [msephton](<https://news.ycombinator.com/item?id=50321448>)

> A couple months ago I wrote about this kind of transcompilation hop-skip-jump: https://news.ycombinator.com/item?id=49643284
>
> I used it to get games written in Lua running on SNES and in my own language/engine running on Dreamcast, Wii, Web and more.

---

## Cite

- Page: https://zeli.app/story/50319169
- Date: 2026-10-31
- Source: epoyraz.github.io (https://epoyraz.github.io/nes-contra-us/)
- Hacker News: https://news.ycombinator.com/item?id=50319169

## Other languages

- zh: https://zeli.app/zh/story/50319169 · markdown: https://zeli.app/zh/story/50319169.md
- ja: https://zeli.app/ja/story/50319169 · markdown: https://zeli.app/ja/story/50319169.md
- ko: https://zeli.app/ko/story/50319169 · markdown: https://zeli.app/ko/story/50319169.md
- de: https://zeli.app/de/story/50319169 · markdown: https://zeli.app/de/story/50319169.md
- es: https://zeli.app/es/story/50319169 · markdown: https://zeli.app/es/story/50319169.md
- ru: https://zeli.app/ru/story/50319169 · markdown: https://zeli.app/ru/story/50319169.md
