Welcome to We'reWolf!
An age-old rivalry, come to life! Join your friends in a spooky yet elegant struggle to find the furry menaces ravaging your village. Be careful though -- you may be shocked to find your friends are actually the culprits!
Once you've cloned this repo, navigate into the root directory, and install all of the necessary dependencies:
npm install
Once all node module dependencies have been installed, initialize a server and compiler to open the app:
npm run build
npm run start
Open http://localhost:3000 with your browser to see the result.
-
For the Villagers, Doctor, and Seer: Identify and vote out the Werewolves to save the village.
-
For the Werewolves: Eliminate all Villagers and other opposing roles.
- Werewolves: Typically, there are 2 or more players who are designated as Werewolves. They work together to eliminate other players during the game. The Werewolves know each others identity and can communicate secretly to plan their strategy.
- Villagers: The majority of players are Villagers. They do not have any special abilities other than trying to identify and vote out the Werewolves during the game.
-
The game is played in rounds, with each round consisting of two phases: Day and Night.
-
During the Day phase, all players, including the Villagers, Doctor, and Seer, openly discuss and vote on who they think is a Werewolf. Players can use their observations, deductions, and any special abilities they may have to make their case.
-
At the end of the Day phase, the player with the most votes against them is dead and eliminated from the game. If there is a tie, no one is dead.
-
During the Night phase, the Werewolves secretly choose a player to eliminate from the game. The Doctor can choose a player to protect, and the Seer can investigate a players identity.
-
The next Day phase begins, and the cycle continues until either all Werewolves are eliminated, or the Werewolves outnumber the Villagers.
-
The game continues until one of the win conditions is met: either the Werewolves are all eliminated, or the Werewolves outnumber the Villagers.
Login/Signup forms provide an authentication layer to the game, with successful credentials leading to serverless routing to the game lobby.
Once in the main room, the day and night cycle will run based off of a timer, with users voting at different moments based on their provided roles. Group deliberation is conducted through the chat window as shown to the right.
![](public/tombstonepic.png)