View on GitHub

Cluedo

Perfect Epistemic Logicians playing Cluedo

Created by Laura van de Braak, Luuk Boulogne, and René Mellema

Introduction

For this project, we implemented a dynamic epistemic modelling tool for a simplified version of Cluedo. This tool is able to check formulas from Public Announcement Logic in a specific Kripke model, which is built specifically for Cluedo. This tool can be used to analyse specific situations and strategies in Cluedo. More information about obtaining and running the tool can be found on the downloads page.

Cluedo

Cluedo is a game in which the players are supposed to solve a murder. The first player to solve the murder wins the game. In order to solve the murder, they need to correctly guess the room where the murder was committed, the murder weapon and the murderer. To help them, they are each given a set of cards with rooms, persons and weapons which cannot have partaken in the murder. The correct answer consists of a similar set of cards which contains on room, one person and one weapon, which is placed on the table, called the envelope. During their turn, each player can chose to move from room to room, where their movement is constricted such that they have to move across a grid in between rooms, and they can only take the number of steps that they rolled on a dice. If a player is in a room, they can also make a suspicion in order to gather more information, which other players have to disprove, if they have one of the cards in the suspicion. A player is only allowed to make a suspicion about a room if they are in that room.

Once a player is confident they know who committed the murder, with what weapon and where, they can make an accusation. This means that they write down this information and take a look in the envelope. If they are correct, they win the game and the game ends. If they are incorrect, they are no longer allowed to move or make suspicions, but are still supposed to react to the suspicions of others. Click here for more information about the rules.

Simplification

Because implementing the full scope of Cluedo would be too complex to check formulas in a reasonable amount of time, we decided to simplify our version of Cluedo to a game with only six weapons, four persons, and no rooms. This means that there are only four agents (players) who have two cards each. Because we use two categories, there are only two cards in the envelope, instead of the usual three. Since we are only interested in the reasoning within this game and movement has little influence on this, we left it out of our implementation.

Analysis

We have analysed several situations and strategies for Cluedo, in order to see what a rational agent would do in such a situation. For this we have created several strategies, which we extracted from Hans van Ditmarsch PhD. Thesis Knowledge Games (2000) or from situations we encountered during play. The full analysis of these situations and strategies can be found in Strategies and Situations. For this we also first needed to ground Cluedo in logic. The information about this can be found on the theory page.

We also implemented these strategies into our Cluedo tool, so it was possible to see these strategies in action. The can be selected from the Strategies tab in the `new game` dialog if you download the tool. To see more about the inner workings of the tool you can go to the implementation page.