🛬 Auto Traffic Control
Homepage | Documentation | Community
Auto Traffic Control is a video game played by programming. The player's task is to create a program that can safely manage the airspace above two airports.
The game is designed to provide an open-ended sandbox that players can use to freely practice programming. The game provides a language-agnostic gRPC API, giving players free choice of programming language or paradigm.
This crate contains the auto-generated Rust SDK for the game's gRPC API.
Usage
First, add auto-traffic-control as a new dependency to your Cargo.toml.
[]
= "0.3.2"
You also need to add tonic, the Rust
implementation of gRPC, and tokio, the async
runtime, as a dependency.
Then, create a service client and send a request. Check out the documentation to learn about the different services and their endpoints.
The following example queries the version of
the game through the
AtcService.
use AtcServiceClient;
use GetVersionRequest;
async
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.