Scheduling is the part of multiplayer that nobody demos. Four friends agree to play, then one is on the subway, one is cooking and one has already forgotten. Async-by-accident is the normal case.
The constraint that follows
If a round can take an unknown amount of time, the interface has to survive a player being absent for a minute. That rules out live typing indicators, countdown pressure and anything that scrolls.
SameWord takes the opposite tack: one prompt, everyone submits the word they think the group will also pick, and answers stay hidden until the round closes. Static page, one fetch, no sockets required for the hiding to work.
Why the hidden-answer rule is a technical decision
Hiding answers until the round ends is usually implemented as a UI trick — blur the text with CSS and hope nobody opens devtools. That is fine for a friendly game; it is also the only honest option when you cannot trust the client.
The practical version:
- Client sends the answer, server stores it with the round id.
- Server only returns other players' answers after
round.closed_at. - Matching runs server-side so the client never needs the full answer set.
Twelve lines of logic and the game stops being cheatable.
The bit that surprised me
The room code matters more than the game loop. Six characters, copied by voice or text, is the entire onboarding. Anything longer gets mistyped, anything shorter collides.
If you want the concrete version, the rules and the scoring table are a one-minute read. It plays with 2 to 4 people in a browser tab and there is no signup.
