Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jameserrington/2048-wasm
- Owner: JamesErrington
- Created: 2024-02-04T21:46:38.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-02-06T17:39:58.000Z (9 months ago)
- Last Synced: 2024-02-07T03:28:00.802Z (9 months ago)
- Language: C
- Homepage: https://jameserrington.github.io/2048-wasm/
- Size: 128 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)