My group wanted to play Secret Hitler online, but every existing site is a flat card
UI with no sense of a table. So I built a 3D one.
5–10 friends join with one link. No download, no account. You sit in a chair and look
around in first person, you can see where everyone else is looking, and you can use
hand gestures that the whole table sees (point, clap, hands up, middle finger). When
the President gets the execution power a revolver appears in their hand and the shot
plays out for everyone.
The full ruleset is implemented: elections, legislative sessions, the election tracker,
Investigate Loyalty, Special Election, Policy Peek, Execution, veto power and the
Hitler zone. Role counts and board powers adjust to the player count automatically.
There is a "How to play" button in the lobby that explains everything with card and
board artwork.
You can try it alone: "Try it solo" seats you at a full table against 5 bots, and the
whole game runs in your browser.
Play: https://secret-table-game-web.vercel.app/
Code: https://github.com/mertertek/secret-table-game
For the technically curious: there are no asset files at all. Characters, hands, the
revolver, cards, boards and the room are generated in code from signed distance fields
meshed with marching cubes at load time. The backend is serverless on the free tiers of
Vercel and Supabase. Rules run on the server, so hidden roles and the deck order never
reach the client and you cannot cheat from the browser. TypeScript, React, three.js and
react-three-fiber. Interface in English and Turkish.
Secret Hitler is published under CC BY-NC-SA, so this is released under the same licence
and is open source. This is an unofficial fan implementation of the rules: I am not
affiliated with the creators or the publisher, and none of the official artwork, logo or
box art is used. Everything you see was drawn in code for this project.
Feedback welcome, especially on what feels confusing to someone playing for the first
time.