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-2022

Template game client for the Software Challenge 2022 ("Ostseeschach")
https://github.com/fwcd/socha-client-rust-2022

ostseeschach software-challenge software-challenge-germany

Last synced: 18 days ago
JSON representation

Template game client for the Software Challenge 2022 ("Ostseeschach")

Awesome Lists containing this project

README

        

# Software Challenge 2022 Rust Client

[![Build](https://github.com/fwcd/socha-client-rust-2022/actions/workflows/build.yml/badge.svg)](https://github.com/fwcd/socha-client-rust-2022/actions/workflows/build.yml)

A template client for the [Software Challenge 2022](https://www.software-challenge.de) (Ostseeschach) written in Rust.

The client implements [the XML protocol](https://docs.software-challenge.de/spiele/ostseeschach/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 Ostseeschach running (you can [download a copy from GitHub here](https://github.com/software-challenge/backend/releases/tag/22.1.0)).

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.