Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wadaboa/tablut

Tablut board game player for Fundamentals of Artificial Intelligence class at UNIBO
https://github.com/wadaboa/tablut

ai artificial-intelligence board-game competition tablut unibo

Last synced: 26 days ago
JSON representation

Tablut board game player for Fundamentals of Artificial Intelligence class at UNIBO

Awesome Lists containing this project

README

        

# Tablut board game
Software for the Tablut Students Competition at University of Bologna.\
The `Server` side is written in `Java 8`, so you'll need `JDK 8` to use it.\
The `Client` side is written in `Python 3`, so you'll need to install it properly on your system.

## Installation
To install the client/server softwares and their dependencies follow the guidelines specified in the sub-directories [`Client`](Client/README.md) and [`Server`](https://github.com/AGalassi/TablutCompetition/blob/master/README.md).

## Server execution
If you have `ANT` installed on your system, just run:
1. `cd` inside `Server/Tablut/`
2. `ant clean`
3. `ant compile`
4. `ant server`

## Client execution
Run the following commands:
1. `cd` into `Client/`
2. Run [`./CalbiFalai.sh`](Client/CalbiFalai.sh), also giving the mandatory parameters

## Server response examples

__Board state__
```json
{
"board": [
["EMPTY", "EMPTY", "EMPTY", "BLACK", "BLACK", "BLACK", "EMPTY", "EMPTY", "EMPTY"],
["EMPTY", "EMPTY", "EMPTY", "EMPTY", "BLACK", "EMPTY", "EMPTY", "EMPTY", "EMPTY"],
["EMPTY", "EMPTY", "EMPTY", "EMPTY", "WHITE", "EMPTY", "EMPTY", "EMPTY", "EMPTY"],
["BLACK", "EMPTY", "EMPTY", "EMPTY", "WHITE", "EMPTY", "EMPTY", "EMPTY", "BLACK"],
["BLACK", "BLACK", "WHITE", "WHITE", "KING", "WHITE", "WHITE", "BLACK", "BLACK"],
["BLACK", "EMPTY", "EMPTY", "EMPTY", "WHITE", "EMPTY", "EMPTY", "EMPTY", "BLACK"],
["EMPTY", "EMPTY", "EMPTY", "EMPTY", "WHITE", "EMPTY", "EMPTY", "EMPTY", "EMPTY"],
["EMPTY", "EMPTY", "EMPTY", "EMPTY", "BLACK", "EMPTY", "EMPTY", "EMPTY", "EMPTY"],
["EMPTY", "EMPTY", "EMPTY", "BLACK", "BLACK", "BLACK", "EMPTY", "EMPTY", "EMPTY"]
],
"turn": "WHITE"
}
```