Skip to content

AmaxGuan/Werewolves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Werewolves Game (狼人杀) simple server

The common problem we face when playing Werewolves game is that, often it's hard to gather enough players, and 1 person has to play god, which further reduced 1 player from enjoying the game.

This is a simple web server that can run on a laptop with ruby, and connect from your cell phones to play Werewolves game, so that all the players can enjoy the game itself

This server is still under development, currently only support logic for the first night

How to Run

First Time

  1. install rvm with ruby 2.1.5 from https://rvm.io/
  2. install bundler
   $ gem install bundler
  1. install all gems
$ bundle install

Start the server

$ bundle exec ruby server.rb

Test command

create a room

see the room info

see player card

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published