https://github.com/timfts/webassembly-rust-learning
Webassembly + JS/TS + Rust experiment
https://github.com/timfts/webassembly-rust-learning
Last synced: 11 months ago
JSON representation
Webassembly + JS/TS + Rust experiment
- Host: GitHub
- URL: https://github.com/timfts/webassembly-rust-learning
- Owner: Timfts
- Created: 2022-11-02T15:21:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-20T03:37:06.000Z (over 3 years ago)
- Last Synced: 2025-06-02T11:57:30.935Z (about 1 year ago)
- Language: Rust
- Homepage: https://timfts.github.io/webassembly-rust-learning/
- Size: 252 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webassembly + Rust snake game
This project implements a simple Snake game based on the [Filip Jerga's webassembly + rust course](https://www.udemy.com/course/rust-webassembly-with-js-ts-the-practical-guide/).
It implements the game core/engine through webassembly code (compiled from rust code).
the game is available [here](https://timfts.github.io/webassembly-rust-learning/).
## Running the project locally
Make sure you have Node 16.x or higher and [Rust + Wasm Pack](https://rustwasm.github.io/docs/wasm-pack/quickstart.html) installed.
then run:
```shell
yarn
yarn dev:wasm
```