Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jameserrington/2048-wasm

2048 clone written in C onto HTML canvas via WASM
https://github.com/jameserrington/2048-wasm

Last synced: 8 days ago
JSON representation

2048 clone written in C onto HTML canvas via WASM

Awesome Lists containing this project

README

        

2048 clone written in C to HTML canvas via WASM without Emscripten.

Shamelessly copied from https://play2048.co/.

Inspired by https://surma.dev/things/c-to-webassembly/ and https://github.com/tsoding/snake-c-wasm/.

Built with LLVM and Clang. Served via Python http.server.

```bash
> make # build the .wasm
> make serve # serve the html
```

![Preview image](./image.png)