Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fwcd/socha-client-rust-2020
Template game client for the Software Challenge 2020 ("Hive")
https://github.com/fwcd/socha-client-rust-2020
hive software-challenge software-challenge-germany
Last synced: 11 days ago
JSON representation
Template game client for the Software Challenge 2020 ("Hive")
- Host: GitHub
- URL: https://github.com/fwcd/socha-client-rust-2020
- Owner: fwcd
- License: mit
- Created: 2019-09-22T02:18:38.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-06-06T02:13:11.000Z (over 1 year ago)
- Last Synced: 2024-10-15T13:17:27.920Z (23 days ago)
- Topics: hive, software-challenge, software-challenge-germany
- Language: Rust
- Homepage:
- Size: 62.5 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Software Challenge 2020 Rust Client
[![Build](https://github.com/fwcd/socha-client-rust-2020/actions/workflows/build.yml/badge.svg)](https://github.com/fwcd/socha-client-rust-2020/actions/workflows/build.yml)
A template client for the [Software Challenge 2020](https://www.software-challenge.de) (Hive) written in Rust.
The client implements [the XML protocol](https://docs.software-challenge.de/spiele/hive/xml-dokumentation.html) for communication with the game server, the game structures and a very simple logic that picks moves at random.
## Building
To build the client into a statically linked executable, run
```bash
cargo build --release
```## Running
First make sure to have the game server for Hive running (you can [download a copy from GitHub here](https://github.com/software-challenge/backend/releases/tag/20.final)).
To start an instance of the client, you can now run
```bash
cargo run --release
```> Note that you will need another client (either a second instance of this one or another one) to play.