RiskASP
Risk board game in Unity with Bot AI using Answer set programming
Install / Use
/learn @Farfi55/RiskASPREADME
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
- Unity Game Engine (tested with version 2021.3.23f1)
Setup
- Clone the repository
- Open the project in Unity
- Open the scene
Assets/Scenes/Menu.unity - Start the Game
- Select the number of players and their types (Human or AI)
options are:
- FCC: Farfi-Checcho-Ciccio AI (ai source code)
- MPS: Marco-Pasquale-Simone AI (ai source code)
- Dumb: Random AI (ai source code)
- Human: Human Player
- Press Play
- Enjoy!
How to Play
Game Rules
The rules of the game are the same as the original game (Italian Edition), with the following exceptions:
- The game is played with 2 to 6 players
- The game ends when a player conquers the entire world
for more information see this rules guide (italian).
Controls
If you're playing as a human player, you can use the following controls:
- Left Click on a territory
for each phase the selection has a different meaning
- in the reinforce phase, you select the territory to reinforce
- in the attack phase, you first select the attacking territory and then the attacked territory
- in the fortify phase, you first select the territory from which to take the reinforcements and then the territory to reinforce
- Skip Button: Skip the current phase (in reinforce this will spend all the remaining reinforcements randomly)
- Exchange Button: Exchange the cards for reinforcements (only if you have 3 cards with a valid combination)
Authors
FCC Group:
MPS Group:
Screenshots

Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
