#multi-player #server #online #paper #rock #scissors #rps

bin+lib zero-trust-rps

Online Multiplayer Rock Paper Scissors

9 releases

0.2.1 Jan 29, 2025
0.2.0 Jan 23, 2025
0.1.1 Jan 22, 2025
0.0.5 Jan 17, 2025

#1106 in Game dev

Custom license

140KB
3.5K SLoC

Zero Trust RPS

Play rock paper scissors online.

Installation

Client

cargo install zero-trust-rps --no-default-features --features=client
rps-client --domain=scissors-rock-paper.de

Server

cargo install zero-trust-rps --no-default-features --features=server
rps-server --public ...

Make sure to open 8111/udp in the firewall.

Client and server

cargo install zero-trust-rps --bin=rps-client --bin=rps-server

Single combined binary

cargo install zero-trust-rps --bin=zero-trust-rps
zero-trust-rps client --help
zero-trust-rps server --help

Everything

cargo install zero-trust-rps

Development

Server

cargo run server

Client

cargo run client

As library

[dependencies]
zero-trust-rps = { version = "0.2.1", default-features = false }

Dependencies

~83MB
~2M SLoC