Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rrrnld/pure-vernunft-darf-niemals-siegen


https://github.com/rrrnld/pure-vernunft-darf-niemals-siegen

Last synced: 27 days ago
JSON representation

Awesome Lists containing this project

README

        

# ai-for-games [![Build Status](https://travis-ci.org/heyarne/pure-vernunft-darf-niemals-siegen.svg?branch=master)](https://travis-ci.org/heyarne/pure-vernunft-darf-niemals-siegen)

This is an attempt at solving the HTW IMI Master course "AI for Games and Interactive Systems" with Clojure. We'll see how that works out.

[![Pure Vernunft Darf Niemals Siegen](https://img.youtube.com/vi/e1szcpyzsAE/0.jpg)](https://www.youtube.com/watch?v=e1szcpyzsAE)

## Installation

You need [leiningen](https://leiningen.org/) to build this. You should check the leiningen webpage for instructions how to install it.

## Usage

First start the server:

```
$ ./run-server.sh
```

Afterwards you can run the clients like so:

```
$ lein run -- --help
Spawns one or more clients to play the gawihs game.

Usage: gawihs-client [options]

Options:
-H, --host HOSTNAME localhost Host name or IP address
-n, --players N 1 Amount of players
-h, --help
$ # or if you just want to connect to localhost and start one client
% lein run
```

The server should output something along those lines:

```
Start with 3 integer parameters: [

**NOTE:** This will very likely change in the future.

## Tests

There are quite a couple of tests in `./test`. You can run them with `lein test`.

## Options

**TODO:** Add CLI options