Wii Tank but Multiplayer and in Rust.
tankrs uses yarn
to manage dependencies. To get started:
- Install yarn:
brew install yarn
- Install all dependencies:
yarn install
tankrs is mainly written in rust
. You will need the following
rustfmt
for code formatting.rust-clippy
for writing idiomatic rust.
tankrs uses protobuf
to serialize data to transfer over wire. You may need to compile
protoc
in order to generate protobuffers.
Run make all
in client/ to generate flatbuffers and app.js .
You can then open client/app/app.html.
Run cargo run
in the root directory.
This will take care of all build requirements as well.
tankrs uses prettier
for formatting.
To run a global format: yarn run format
.
To check formatting: yarn run check-format
.