Skip to content

at1as/werewolves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Werewolves

Werewolves role playing game, without the cards (also known as Mafia, with slightly different role names).

Users will be texted their assigned role at the beginning of the game, and again when their status changes, if they become entagled with another player, or during a character reveal. This eliminates a lot of the awkwardness of secretly showing players others' cards.

Screenshots

Players

Gameplay

Setup

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with npm install

Tested with Elixir 1.3.3 on top of Erlang/OTP 19 running on OS X.

Launching server

To launch the game, three environment variables are required

  • TWILIO_ACCOUNT_SID (your twilio account SID)
  • TWILIO_AUTH_TOKEN (your twilio account auth token)
  • FROM (the from number belonging to your account you wish to make outgoing texts with)

TWILIO_ACCOUNT_SID="AC..." TWILIO_AUTH_TOKEN="12345" FROM="+15555555555" mix phoenix server

Note that the game will still launch and function without these environment variables set, however it's of severely limited use without its texting ability.

About

Werewolves role playing game over SMS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published