patriksvensson / wasm-pong

Simple pong game written in webassembly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WASM Pong

Not really a pong, just a bouncing ball written in WASM and Javascript.

Building

> ./wat2wasm pong.wat -o pong.wasm

Running

You will need to host the content in a web server. For this you could (for example) use Simple HTTP Server that you can get via Cargo.

> cargo install simple-http-server
> simple-http-server --index

After this, open a web browser at http://localhost:8000/ to run the application.

About

Simple pong game written in webassembly


Languages

Language:WebAssembly 73.1%Language:JavaScript 20.1%Language:HTML 3.6%Language:PowerShell 3.1%