Issues are disabled for this repo... Broken bash shell files!
An online implementation of the board game Secret Hitler, written in node.js and socket.io.
Play at secrethitler.online (requires 5 players, use guest accounts to test).
Supports 5-10 players, text or voice (beta) chat, and the game's core rule set. Game data is persisted to allow features like stat aggregation, or game replays in future.
"Secret Hitler" is a game designed by Max Temkin, Mike Boxleiter, Tommy Maranges, and Mackenzie Schubert. This adaptation is neither affiliated nor endorsed by the copyright holders.
Steps to install are as follows:
- Upload
install-the-games-dependencies.sh
to your server and run it with a user who has sudo privileges - Upload
install-the-game.sh
to your server, and run it with a user who has sudo privileges - Upload
tools/secret-hitler-game.service
to your server:
- Move the file to
/lib/systemd/system/
- Ensure that it is owned by root, and is executable
- Ensure that
/var/www/secret-hitler/server.js
is executable
- Configure the database:
- Alter
/etc/postgresql/YOUR-VERSION/main/postgresql.conf
so that postgres runs onlocalhost
sudo -u postgres psql -c "CREATE USER secrethitler WITH PASSWORD 'your_password';"
sudo -u postgres psql -c "CREATE DATABASE secrethitler;"
sudo -u postgres psql -d secrethitler -f /var/www/secret-hitler/schema.sql
sudo -u postgres psql -d secrethitler -c "GRANT SELECT, INSERT, UPDATE ON feedback, games, users TO secrethitler;"
It is licensed under Creative Commons BY-NC 4.0 (non-commercial, attribution required).