https://github.com/avdaredevil/webasm-snakes
A basic snake game written with Rust / Webassembly and TS
https://github.com/avdaredevil/webasm-snakes
Last synced: about 1 year ago
JSON representation
A basic snake game written with Rust / Webassembly and TS
- Host: GitHub
- URL: https://github.com/avdaredevil/webasm-snakes
- Owner: avdaredevil
- License: mit
- Created: 2022-08-05T17:26:01.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-09T19:34:08.000Z (almost 4 years ago)
- Last Synced: 2023-09-02T07:23:29.367Z (almost 3 years ago)
- Language: TypeScript
- Size: 66.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
AP-Snakes is a simple game where you control a snake and try to eat as much food as you can.
## Prerequisites
- Install [NodeJs](https://nodejs.org/en/)
- Install [Rust](https://www.rust-lang.org/tools/install)
- Perform one-time setup with `yarn install`
- Perform one-time dependency fetch with `yarn build:rust`
- This will install wasm-pack, and other rust required dependencies
## Running the game
- To run the game, just:
```bash
yarn dev
```
- Navigate to [localhost:8080](http://localhost:8080/) to enjoy the game
## Demo
Snake Game |
--- |
 |
## Author
Apoorv Verma [@ap.verma](https://www.linkedin.com/in/apoorvverma/)