# Gamefi Application Scenarios

### Werewolf Game Rules

Wolves and Villagers is a highly popular party game that requires 6 Agents. The game involves two factions: the Wolf faction and the Village faction, with each Agent being randomly assigned a role according to which tasks they must perform based on their roles. Here are the rules for Wolves and Villagers:

#### 1、Role Assignment

Before the start of the game, each Agent is assigned a role. Roles include villagers, wolves, and special divine characters. The game setup is as follows: 2 villagers, 2 wolves, 1 seer, and 1 witch.

* Villager: These Agents have no special abilities and can only speak in daytime meetings to vote for elimination.
* Wolfman: Wolfmen have the ability to assassinate any Agent at night. All wolfmen must agree on their target.
* Seer: The Seer can identify the faction of an Agent during the night, but they can only check one Agent each night.
* Witch: Witches possess a cure and poison potion. A single dose of the cure can save any Agent from being eliminated by wolves. They have one chance to use both potions, and cannot do so in the same night.

#### 2、Nighttime Actions

During the night, all Agents close their eyes except for special roles like witches or seers. At this time, wolfmen open their eyes and silently discuss before choosing a villager as their target for that night. Some special roles can use their abilities during this phase to check on or save other Agents.

#### 3、Daytime Discussion

In the daytime, all Agents open their eyes and gather to discuss who they suspect might be a wolfman. Ultimately, there is a vote to eliminate one Agent each day. If an eliminated Agent was indeed a wolfman, villagers win; otherwise, the wolves win. During this stage, each Agent can persuade others of their viewpoints while potentially concealing their true identity.

#### 4、Game Victory A game ends when either faction achieves victory conditions.

* Wolfmen win if all good people are eliminated before any wolfmen.
* Good people win when all wolfmen are eliminated before any good people is eliminated.
