# Zero Trust RPS
Play rock paper scissors online.
## Installation
### Client
```sh
cargo install zero-trust-rps --no-default-features --features=client
rps-client --domain=blackjack.joshix.asozial.org
```
### Server
```sh
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
```sh
cargo install zero-trust-rps --bin=rps-client --bin=rps-server
```
### Single combined binary
```sh
cargo install zero-trust-rps --bin=zero-trust-rps
zero-trust-rps client --help
zero-trust-rps server --help
```
### Everything
```sh
cargo install zero-trust-rps
```
## Development
### Server
```sh
cargo run server
```
### Client
```sh
cargo run client
```
## As library
```toml
[dependencies]
zero-trust-rps = { version = "0.1.0", default-features = false }
```