Skip to content
/ Tablut Public

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

License

Notifications You must be signed in to change notification settings

Wadaboa/Tablut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages