Coder Social home page Coder Social logo

we-rewolf's Introduction

Tech Stack

JavaScript React Axios Next JS

MongoDB

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!

Getting Started

Installation

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.

About The Game

Objective:

  • 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.

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.

GamePlay:

  1. The game is played in rounds, with each round consisting of two phases: Day and Night.

  2. 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.

  3. 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.

  4. 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.

  5. The next Day phase begins, and the cycle continues until either all Werewolves are eliminated, or the Werewolves outnumber the Villagers.

  6. The game continues until one of the win conditions is met: either the Werewolves are all eliminated, or the Werewolves outnumber the Villagers.

Features

Login

Login/Signup forms provide an authentication layer to the game, with successful credentials leading to serverless routing to the game lobby.

Game Lobby

Game Page

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.

Voting Off Players

After villagers have casted their votes, players with the majority of votes cast will be removed from the game, and unable to participate in future rounds.

- Questions and feedback is most welcome, and should be directed to the authors listed below. Thank you for visiting!

Authors

  1. Ben Tracy || GitHub

  2. Jae Hoon Lee || GitHub

  3. James Carrington || GitHub

  4. Justen Lane || GitHub

  5. William Miller || GitHub

  6. Zack Freeman || GitHub

we-rewolf's People

Contributors

bentracydotcom avatar zfreeman341 avatar jlane20 avatar chordata88 avatar jl924 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.