Coder Social home page Coder Social logo

danidf / bugtablutchallenge Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 828 KB

Bug Tablut is an artificial intelligence for the Tablut Game Competition organized by the Foundations of Artificial Intelligence M AA 2021-2022 course at the Unibo. The project is written in Kotlin. The project realizes a player for an ancient Nordic strategy board game named "Tablut".

Kotlin 96.41% Java 3.59%
ai challenge tablut

bugtablutchallenge's Introduction

Bug Tablut

Bug Tablut is an artificial intelligence for the Tablut Game Competition organized by the Foundations of Artificial Intelligence M AA 2021-2022 course at the Unibo. The project is written in Kotlin. The project realizes a player for an ancient Nordic strategy board game named "Tablut".

The competition required us to stick to Ashton rules (learn more here) and Andrea Galassi's server for communication with players and maintaining the game state. The server is available in this repository.

tablut

Tablut

Tablut is an ancient viking board game. The game board is grid of 9x9 squares where two players alternate in moving their pawns:

  • attackers (black soldiers);
  • defenders (white soldiers and one king).

The rules of the game follows the work of Ashton.

Download

Download the zip file from github or clone it from the command line:

git clone https://github.com/DaniDF/TablutChallenge.git

Usage

To run one player from the VM, in /tablut run:

./runmyplayer.sh <role> <time> <ip>
<role> "white" or "black" 
<time> time in seconds (60 recommended, timer <59 recommended)
<ip> ip of the server

Let's do the same for the other player, but in a different shell.

./runmyplayer.sh white 60 localhost
./runmyplayer.sh black 60 localhost

Authors

bugtablutchallenge's People

Contributors

danidf avatar filippoveronesi avatar virginianegri25 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.