GithubHelp home page GithubHelp logo

ftick / secret-hitler Goto Github PK

View Code? Open in Web Editor NEW
20.0 5.0 22.0 3.89 MB

Online implementation of the game Secret Hitler

Home Page: https://secrethitler.online

JavaScript 70.05% CSS 11.64% HTML 11.93% Shell 1.45% TSQL 4.93%

secret-hitler's Introduction

Issues are disabled for this repo... Broken bash shell files!

Secret Hitler Online

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.

Attribution

"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.

Installation

Steps to install are as follows:

  1. Upload install-the-games-dependencies.sh to your server and run it with a user who has sudo privileges
  2. Upload install-the-game.sh to your server, and run it with a user who has sudo privileges
  3. 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
  1. Configure the database:
  • Alter /etc/postgresql/YOUR-VERSION/main/postgresql.conf so that postgres runs on localhost
  • 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).

Screenshots

Secret Hitler Online start

secret-hitler's People

Contributors

danrough avatar ftick avatar ky-is avatar trueshotbarrage avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.