How to survive and win in Mafia
The game is a conflict between two groups: the informed minority (Mafia) and the uninformed majority (Villagers).
Depending on the game size, there are 1 or more Mafia. Each night, they choose one villager to eliminate. They know who the other Mafia members are.
Each night, the Doctor can choose one person to save. If the Mafia targets that person, they survive. The Doctor can save themselves.
Each night, the Detective can investigate one player to determine if they are Mafia or innocent.
Innocent townspeople. They sleep at night and wake up to discuss who among them is the impostor. Their only weapon is their vote.
Everyone sleeps. The Mafia kills, Doctor saves, and Detective investigates.
Everyone wakes up. The Host announces who died (if anyone). Survivors discuss who they suspect.
Players vote to eliminate a suspect. If a majority is reached, that player is eliminated and their role is revealed (if enabled).