This React application is a multiplayer game called Vampire Village, where players take on the roles of villagers and vampires in a battle of wits and deduction.
- During the day phase, all players gather in the village square to discuss and deliberate.
- Villagers should share any suspicions they have about other players and present evidence if available.
- Players can ask questions, analyze behavior, and attempt to deduce the identities of vampires.
- The goal for villagers is to identify and vote out suspected vampires.
- Players must be cautious not to reveal sensitive information that could be used by vampires against them.
- Once all discussions are complete, players vote on which player they believe is a vampire.
- The player with the most votes is eliminated from the game and their role is revealed.
- After the vote, the game progresses to the night phase.
- During the night phase, vampires secretly select a player to eliminate.
- Villagers must try to protect themselves from vampire attacks.
- Special roles like the Seer may have additional actions they can perform during the night.
- Once all actions are resolved, the day phase begins again.
To run the Vampire Village React App locally, follow these steps:
- Clone this repository to your local machine and create .env file
- Navigate to the project directory in your terminal.
- Install dependencies by running
npm install
oryarn install
. - Create a Firebase project and configure it with your Firebase credentials.
- Update the Firebase configuration in the app's source code.
- Start the development server by running
npm start
oryarn start
. - Open your browser and navigate to
http://localhost:3000
to view the app.
- React
- Firebase (for backend services)
- Chrisphine10