View Code? Open in Web Editor
NEW
This project forked from espressomilk/auto_moderator
Audio auto moderator for game Werewolf
PHP 1.41%
JavaScript 47.74%
HTML 50.85%
auto_moderator's Introduction
- Make sure you have installed the node.js
- Download or clone this repository to local
- Move file index.php into your public dirctory (e.g. /var/www/html)
cd auto_moderator
and run npm install
sudo chown -R yourname:www-data /var/www/html
sudo chmod -R g+s /var/www/html
- Goto youripaddress:80/index.php
- Press Start button, then you should see a successful starup response
- Use one device as the audio server, goto youripaddress:8010 and select Server. Then you can setup the number of players and different identities
- For players, go to youripaddress:8010 and select Player. Then you should be automatically assigned with an identity.
- Wait untill all players are online, then enjoy the game of Werewolf as you usually do with the robot moderator that never make any mistakes~
- After one round of game, click stop in index.php. You may press start again to startup a new round of game.
auto_moderator's People
Contributors
Watchers