jayaramkasi / mafia-role-generator

Mafia role generator -

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a simple frontend helper app for assigning roles to participants in the party game - Mafia (Werewolf)

Demo here

How to use

Enter the number of villager and mafia roles (enter number of special roles like Cops, docs, godfathers, village idiots etc).

The number of people will get populated based on this. Enter the names of all the participants and click the Allocate button

You will see the allocation in the next tab. Use this to play on a Zoom.us or Hangouts meet call!

Optionally, on the game page, there is an option to add webhooks for every player. This will send a POST call, with body

{
  "text": `Your role: ${role}. ${notes}`
}

Check the How to Use page within the app for more details.

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

About

Mafia role generator -


Languages

Language:JavaScript 97.2%Language:CSS 1.7%Language:HTML 1.1%