A simple 2d shooter using Actix Web on the backend and Rapier2d as the physics engine
An installation of the rust toolchain is required. Assuming Unix-like OS:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Clone repo:
git clone https://github.com/Andrew-Y-Xia/multiplayer_shooter.git
cd ./multiplayer_shooter
Build project; this step will take ~3min.
cargo build --release
Run:
cargo run --release
Go to http://0.0.0.0:8080. If you want to access the site from another computer on the local network, go to http://{HOSTNAME}:8080 instead. You can find HOSTNAME on MacOS by:
hostname