DEV Community

HITO
HITO

Posted on

I made a real-time Mafia game you can play with strangers – no signups(pt2)

Hey everyone πŸ‘‹

About two months ago I posted about a real-time game I built called WWC Mafia β€” a quick, anonymous social deduction game inspired by Mafia/Werewolf that required no signup, just click and play.

Since then, I’ve kept building β€” and things got weird (in a good way πŸ˜„).

πŸ§ͺ The Experiment Evolves
What started as a single game mode inside WWC is now a side project of its own: The Hideout.

It’s not a product, not monetized β€” just an experimental multiplayer platform for fast, anonymous party games.

πŸ•΅οΈ What It Does

Lets you join party games (Mafia, Spyfall, Undercover) through secret links
No signups, no search β€” just a URL or QR code
Real-time chat and role-based turns using WebSockets
Ghost chat system (eliminated players talk privately)
Waiting room for pre-game chat and late joins
It's intentionally a little mysterious β€” more like a digital speakeasy than a public game site.

🧰 Tech Stack

Frontend: Next.js + React
Backend: Node.js + Express
Real-time: Socket.IO
State: In-memory for now (looking into Redis later)
Hosting: Vercel (frontend), Render (backend β€” might upgrade)
πŸ’‘ Why I’m Making This

I like building things that feel alive β€” multiplayer, real-time, weird little online worlds.

Some of the goals for this were:

Push my understanding of WebSocket-based game loops
Figure out how to handle state transitions (join β†’ lobby β†’ game β†’ postgame)
Keep it simple but expressive
Experiment with hidden-access mechanics
It’s also fun to design something that doesn’t want to be found unless you’re invited.

πŸ” What I’m Still Exploring

Cleaner game logic across different party games
Moderation / kick-vote system
Host tools and player roles
Maybe storing rounds for playback/debugging
UI improvements (still very prototype-looking)
🧠 Lessons Learned So Far

Real-time multiplayer is chaotic and rewarding
Socket events need strict structure or things break fast
Keeping it anonymous keeps the vibe casual (but also needs safeguards)
Shipping early gets you unstuck
πŸ€– If You're Curious...

You can check out WWC Mafia here: (https://worldwidechat.vercel.app)
and if u have any improvements or suggestions feel free to leave a comment.πŸ™‚

Thanks for reading. If you’re into multiplayer games, WebSocket stuff, or just weird online social projects β€” I’d love to see what you’re building too.

– Hito (aka H1-T0)

Top comments (0)