Skip to content

An online version of Secret Hitler, a social deduction board game.

License

Notifications You must be signed in to change notification settings

ShrimpCryptid/Secret-Hitler-Online

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secret-Hitler-Online

A fan-made web adaptation of Secret Hitler, a social deduction board game for up to 10 players by Goat, Wolf & Cabbage. You can play it with friends at secret-hitler.online!

The Game

In the game, players are divided into Liberals, Fascists, and one secret Hitler. The Liberals must work together (or not) to discover the secret Hitler hiding in their midst, all while the Fascists try to elevate the secret Hitler to power. Pass policies to achieve victory and unlock presidential powers to investigate your friends.

Can you find and stop the Secret Hitler?

How to Play:

Go to secret-hitler.online and open a new lobby! Use the lobby's code or the provided link to invite your friends. You can play with up to 10 players at once!

There are instructions on how to play the game provided on the website, and plenty of helpful tips are provided for first-time players. The game takes care of rules for you, making it easy to pick up and play.

For more information, read the official rulebook here.

About this project

Technical Details

The Java server is divided into the game simulation and the REST API. Communication between the server and client is done via websocket and HTTP requests, using the Javalin library.

The webpage is written in React, and features animations created with CSS. Assets were either adapted from the original board game or created using Inkscape.

Creative Commons License and Credit

Secret Hitler Online is licensed under Creative Commons BY-NC-SA 4.0, and is adapted from the original board game released by Goat, Wolf & Cabbage (© 2016-2020).

(This project is not affiliated with or endorsed by Goat, Wolf & Cabbage.)

What's changed from the original?

  • Artwork for the boards, policy deck, identity cards, party cards, and liberal/fascist icons were adapted for the website with some minor modifications (rounding corners, adding depth, shadows).
  • Custom assets (made in Inkscape) were added based on the style of the original, most notably for the election tracker, policy reveal popup windows, and the player icons and tiles.
  • Where possible, fonts were replaced with ones licensed under the Open Font License, namely Germania One and Montserrat.
  • The web interface, animations, and server are new additions that use the same rules from the original game.

Report problems or suggest features on the Issues page.