Skip to content

beerecca/Werewolf

Repository files navigation

Werewolf

This repo contains the front-end code for the Werewolf app, that helps you play games of Werewolf. The backend lambda can be found at https://github.com/nzchicken/Werewolf-lambda. If you want to get it running, you'll need to add the apiKey and rootUrl to the app/util/data.js file.

Installation

$ npm install

This assumes you have node and bower installed.

Static Analysis

Linting is performed before building, and as part of the watch task.

npm run build

or

npm run watch

Build

Required to run unit tests and server.

$ npm run build

Watch

Compiles CSS and Javascript code as you make changes.

npm run watch

Unit Tests

$ npm t

Running the App

npm start

Then go to http://localhost:3002/

To Do

  • Error handling
  • Night actions need to be in order
  • Change how night actions are listed against roles
  • Style day review screen
  • Refactor sagas to use selectors more
  • Refactor actions to be more declarative
  • Add tests
  • Use environment variables
  • Add validation of roles for role selection
  • Add ability to load a previous game

About

An app that makes it easy to moderate huge games of Werewolf (https://www.playwerewolf.co/rules/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published