Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christoph-d/snake
A simple Snake clone
https://github.com/christoph-d/snake
Last synced: about 1 month ago
JSON representation
A simple Snake clone
- Host: GitHub
- URL: https://github.com/christoph-d/snake
- Owner: Christoph-D
- Created: 2022-09-04T15:54:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-18T15:07:34.000Z (5 months ago)
- Last Synced: 2024-08-18T16:27:07.709Z (5 months ago)
- Language: Rust
- Size: 392 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snake
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/Christoph-D/snake/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/Christoph-D/snake/tree/main)
A simple Snake clone.
## Example
## Build (local)
```shell
cargo build
```## Build (web)
```shell
cargo build --release --target wasm32-unknown-unknown
wasm-bindgen --out-dir ./out/ --target web ./target/wasm32-unknown-unknown/release/snake.wasm
cp -r index.html assets out/
```