Home

Awesome

<h1 align="center"> <br> <a href="https://wasm4.org"><img src="https://wasm4.org/img/logo.svg" alt="WASM-4 Logo" width="200"></a> <br> WASM-4 <br> </h1> <h3 align="center">Build retro games using WebAssembly for a fantasy console</h3> <h4 align="center"> <a href="https://wasm4.org">Website</a> • <a href="https://wasm4.org/play">Showcase</a> • <a href="https://wasm4.org/docs">Docs</a> • <a href="https://github.com/aduros/wasm4/discussions">Discussions</a> </h4>

About

WASM-4 is a low-level fantasy game console for building small games with WebAssembly. Game cartridges (ROMs) are small, self-contained .wasm files that can be built with any programming language that compiles to WebAssembly.

Key Features

🚀 60 Second Quickstart

# Install the w4 command
npm install -g wasm4

# Create a project
w4 new --assemblyscript hello-world

# Setup toolchain
cd hello-world
npm install

# Build and run your game!
npm run build
w4 run build/cart.wasm

For more info and guides, check the full documentation.

🎮 Hardware Specs

🙏 Contributing

Contributions are welcome! Here are just a few ways to help: