Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 577 Bytes

File metadata and controls

35 lines (19 loc) · 577 Bytes

An implementation of the videogame Snake using Rust

A pet project for learning Rust.

gameplay

Run

cargo run

Debug overlays

cargo run --features debug_draw

Spectator mode (local WebSocket + HTTP)

cargo run --features spectator

Then open:

  • On the same machine: http://127.0.0.1:8000/
  • On another device in the same Wi-Fi: http://<your-mac-ip>:8000/

The WebSocket server runs on port 9001. The spectator page connects automatically.