Rock-Paper-Scissors-Real-Time-Strategy game written in Rust :wink:
The game is to be played by at least 3 players. Like in Rock-Paper-Scissors,
each player has an advantage against one of the players and a disadvantage
against the other one (A > B > C > A
).
The user therefore has to decide whether to defend his units against the stronger user for survival, or whether to attack the weaker user for fame and glory.
Two units (represented as triangles) can be combined to a building (a square). In that form, they cannot attack anymore, but have a defense bonus.
libsdl2-dev
on Ubuntu)Install SDL 2
$ # ArchLinux
$ sudo pacman -S sdl2
$ # Ubuntu
$ sudo apt install libsdl2-dev
Just run
$ cargo build
To build with the default configuration. If you want to change the window backend use any of the following:
$ cargo build --no-default-features --features include_glutin
$ cargo build --no-default-features --features include_glfw
$ cargo build --no-default-features --features include_sdl2
On windows currently the glutin backend is the easiest to get started with:
$ cargo build --no-default-features --features include_glutin
If everything built fine you can use cargo to run the client or the server:
$ cargo run --bin client
$ cargo run --bin server
See ideas.
See docs/design.