Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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")

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.