Farfi55 / RiskASP

Risk board game in Unity with Bot AI using Answer set programming
MIT License
9 stars 3 forks source link
answer-set-programming artificial-intelligence clingo csharp dlv embasp game risk unical unity unity2d

Risk ASP

Description

Risk ASP is an implementation of the board game 🎲 Risk using the Unity Game Engine.

AI

The AI is implemented using Answer Set Programming (ASP) and integrated using the EmbASP framework for C#.

Play 🎮

You can download and play over https://farfi55.itch.io/riskasp, on your favourite OS (Windows, Linux, Mac)

Installation

Requirements

Setup

  1. Clone the repository
  2. Open the project in Unity
  3. Open the scene Assets/Scenes/Menu.unity
  4. Start the Game
  5. Select the number of players and their types (Human or AI) options are:
    1. FCC: Farfi-Checcho-Ciccio AI (ai source code)
    2. MPS: Marco-Pasquale-Simone AI (ai source code)
    3. Dumb: Random AI (ai source code)
    4. Human: Human Player
  6. Press Play
  7. Enjoy!

How to Play

Game Rules

The rules of the game are the same as the original game (Italian Edition), with the following exceptions:

for more information see this rules guide (italian).

Controls

If you're playing as a human player, you can use the following controls:

Authors

FCC Group:

MPS Group:

Screenshots

Main menu turn 15 cards exchange turn 22 domination turn 25 victory screen