Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wadaboa/tablut
- Owner: Wadaboa
- License: mit
- Created: 2019-10-26T08:56:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-15T17:49:38.000Z (almost 3 years ago)
- Last Synced: 2023-02-26T21:53:01.896Z (over 1 year ago)
- Topics: ai, artificial-intelligence, board-game, competition, tablut, unibo
- Language: Python
- Homepage:
- Size: 339 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
}
```