Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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")
- Host: GitHub
- URL: https://github.com/fwcd/socha-client-rust-2022
- Owner: fwcd
- License: mit
- Created: 2022-01-29T20:09:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-24T21:48:48.000Z (over 2 years ago)
- Last Synced: 2024-10-03T20:21:38.785Z (about 1 month ago)
- Topics: ostseeschach, software-challenge, software-challenge-germany
- Language: Rust
- Homepage:
- Size: 85 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.