Let's Code: Mini-Cluedo

Mini-Cluedo

A Loose Specification for a Tiny IF Demo

A murder has been committed, and it’s up to the player to solve it!

The game must involve:

  • Three or more rooms, which the player can move freely between
    • This can involve compass directions, GO TO, or whatever means of movement is most appropriate
  • Three or more suspects, who move independently between the rooms
    • They can move at random or on a fixed path, but must visit every room, and must move independently (i.e. not always staying together)
  • At the beginning of the game, one room is randomly chosen as the crime scene, and one suspect randomly chosen as the murderer
  • The player can search their current room to determine whether or not it is the crime scene
  • The player can question any suspect in their current room to determine whether or not they are the murderer
  • The player can accuse any suspect in their current room
    • If they accuse the murderer, at the crime scene, they win!
    • Otherwise, they lose
  • The player can wait or otherwise allow time to pass, to get the right suspects in the right rooms

That seem appropriate? Not too specific, not too vague?

5 Likes