https://github.com/okayama-daiki/snake-game
Online PvP snake game
https://github.com/okayama-daiki/snake-game
rust snake-game webassembly websocket
Last synced: over 1 year ago
JSON representation
Online PvP snake game
- Host: GitHub
- URL: https://github.com/okayama-daiki/snake-game
- Owner: okayama-daiki
- Created: 2023-12-03T09:51:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-03T19:05:22.000Z (about 2 years ago)
- Last Synced: 2024-04-03T20:25:04.128Z (about 2 years ago)
- Topics: rust, snake-game, webassembly, websocket
- Language: Rust
- Homepage: https://snake-game.daiki.dev/
- Size: 1.05 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Online PvP Snake Game :snake:
## Demo
You can have fun from [this link](https://okayama-daiki.github.io/snake-game/).
## Screenshots


## Prerequisite
Install wasm-pack for Rust builds to webassebmly.
```bash
cargo install wasm-pack
```
## Installation
```bash
git clone https://github.com/okayama-daiki/snake-game
```
## Setup
```bash
cd snake-game
npm install && npm run build
```
## Run
```bash
npm run start
```
## Tech Stack
### Frontend
- [Vite](https://vitejs.dev) - Build tool that aims to provide a faster and leaner development experience for modern web projects
- [React](https://react.dev) - The library for web and native user interfaces
- [wasm-pack](https://github.com/rustwasm/wasm-pack) - A one-stop shop for building and working with rust- generated WebAssembly
- [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) - Facilitating high-level interactions between Wasm modules and JavaScript
### Backend
- [Actix Web](https://actix.rs) - A powerful, pragmatic, and extremely fast web framework for Rust
## Credit and references
- [slither.io](https://slither.io/) - A smash hit multiplayer online video game