https://github.com/asodja/rust-snake
Rust learning project. Gameserver for multiplayer Snake game written in Rust.
https://github.com/asodja/rust-snake
gameserver rust rust-lang slitherio snake websocket
Last synced: 9 months ago
JSON representation
Rust learning project. Gameserver for multiplayer Snake game written in Rust.
- Host: GitHub
- URL: https://github.com/asodja/rust-snake
- Owner: asodja
- Created: 2018-12-09T12:12:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-09T12:16:49.000Z (over 7 years ago)
- Last Synced: 2025-01-19T09:29:39.761Z (over 1 year ago)
- Topics: gameserver, rust, rust-lang, slitherio, snake, websocket
- Language: Rust
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust Snake
Server for multiplayer snake game written in [Rust](https://github.com/rust-lang/rust). It is my playground for trying out Rust and all it offers.
Server-client protocol is a simpler version of one described in [Slither.io-Protocol](https://github.com/ClitherProject/Slither.io-Protocol).
Since I was more interested in learning Rust and implementing server in Rust, game logic is very simple. Only basic snake movement and death when out of screen are implemented.
### Web Client
There is also hacked-up game client written in javascript under the web folder.
### Build and run
- cargo build or cargo build --release
- ./target/debug/rust-snake or ./target/release/rust-snake