Skip to content

Slange-Mhath/Werewolf-Plain-Web

 
 

Repository files navigation

Werewolf Plain

logo

https://werewolfplain.com/

Werewolf Plain is a simple and easy to use onine werewolf game server.

Download

Android

play_store_badge

Build Setup

# clone this repogitory
git clone https://github.com/spider-hand/Werewolf-Plain

# go to the project directory
cd werewolf

# install dependencies
npm install

# run locally
npm run serve

# build for production
npm run build

Follow the official guides below to set up Firebase and Cloud Tasks.

Basic Rules

There are villager team and werewolf team in this game and the village wins if they can execute all werewolves. The werewolves win when the number of werewolves is equal or greater than the number of players who belong to the villager team. A player will be executed each day and the goal of the villagers is to look for werewolves and execute all of them. Werewolves can kill a villager each day and their goal is to kill enough villagers.

Features

Roles

Currently villager, werewolf, seer, medium, knight and minion are supported.

👨‍🌾 Villager

Villager doesn't have any abilities.

🐺 Werewolf

Werewolf can choose a player each day and the most selected player will be killed at night. Wereowolves can chat and communicate with other werewolves even at night.

🧙‍♀️ Seer

Seer can choose a player each day and uncover whether the player is werewolf or not.

🧙‍♂️ Medium

Medium can see whether the player executed last night is wereowlf or not.

💂 Knight

Knight can choose one player each day and protect the player. The player cannot be killed by werewolves.

👤 Minion

Minion belongs to werewolf team but is seen as human. Minion wins when werewolf team wins. Minion doesn't have any abilities and can't see which players are werewolves. Werewolves also can't see which player is minion.

🌐 Internationalization

Currently supports English, Japanese, Spanish and Portuguese. Please contact me if you could help making a translation!

PWA

You can install this web app from Chrome (for Android) or Safari (for iOS) and use this like mobile app.

Implementation

  • Vue.js
  • Firebase (Authentication, Firestore, Storage and Cloud Functions)
  • Google Cloud Platform (Cloud Tasks)

Contribution

Logo by Lee Mette from The Noun Project
Icon by Gregor Cresnar from The Noun Project
Translation (Spanish) by Alejandra Sandoval
Translation (Portuguese) by Alex Gimenez

Contact

Feel free to give me feedback.

Email
Discord

About

Online werewolf game (aka mafia game or jinrou).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 57.3%
  • JavaScript 41.3%
  • HTML 1.4%