Wadaboa / Tablut

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 and Server.

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, also giving the mandatory parameters

Server response examples

Board state

{
	"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"
}

About

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

License:MIT License


Languages

Language:Python 98.4%Language:Shell 0.9%Language:PowerShell 0.6%