The classic 1987 NES game Contra is now available to play directly in a web browser. This port allows users to experience the game without emulators, running natively through WebAssembly.
The project involved translating the game's original assembly language (ASM) code into C. Following this, the C code was compiled into WebAssembly, enabling its execution within a web environment.
Players can control the game using keyboard inputs: arrow keys for movement, 'A' or Space for jump, and 'S' for fire. The port also supports a two-player mode, with both players using the same key assignments on their respective computers if playing online, or Player 1 selecting '2 PLAYERS' on the title screen.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
The 1987 NES game Contra has been ported from its original assembly language to C, and then compiled to WebAssembly, making it playable directly in a web browser. This project demonstrates the feasibility of bringing classic console games to modern web platforms through code translation and WebAssembly.