A downloadable project for Windows

Social Deduction AI

Social Deduction AI is a university project that implements a simple artificial intelligence for a social deduction video game.

Overview

The aim of this project is to design and implement an AI agent in Unity that simulates the behaviour of a human player in a typical social deduction game.

In this case, more agents have to roam around the map gathering information, while one of them is a killer. If one of the agents find a dead body, a meeting starts, during which each agent share its relevant information, in order to identify a plausible suspect and vote it out.

If the innocent agents can spot the killer, they win, otherwise the killer will be the winner.

Structure

  • Roaming phase: the agents roam around the map, while doing tasks and gathering information through their field of view. The killer can also kill one of the other agents.
  • Meeting phase: the agents share their information to identify the killer, making simple logical inferences through a Rule-Based System.

For further information, see the project report.

How to Use

The project can be played either from inside the Unity Editor (Scene and Play tabs) or from a build.

Editor

In the editor Scene tab, you can set various parameters in the scene objects and the prefabs.

Click on the Play button to run the application. While it is running, you can see some debugging information in the Scene tab, and you can give inputs in the Play tab.

Controls

InputsActions
WASD / Arrow keys
Move camera
Mouse scroll wheelZoom
ReturnNext meeting turn
EscapeQuit (only in build)

Download

Download
Social Deduction AI (v1.0) 25 MB
Download
Social Deduction AI (v1.0) - Source Code 1.6 MB
Download
Social Deduction AI (v1.0) - Report 168 kB

Install instructions

Build

  • Download Social Deduction AI and extract all files.
  • Run Social Deduction AI.exe application.

Source Code

  • Download Social Deduction AI - Source Code and extract all files.
  • Add the project to Unity Hub.
  • Open the project with the correct version of the Unity Editor (Unity 2022.3.10f1).

Development log

Leave a comment

Log in with itch.io to leave a comment.