Game Night
Real-time multiplayer
A Node.js server owns room state, roles and scores. Server-Sent Events push updates to players’ phones while keeping hidden information on the server.
A room code connects everyone’s browser.
Node.js owns roles, rules and scores.
Server-Sent Events keep players in sync.
Node.js · JavaScript · Server-Sent Events · Claude Code
How it works
A Node.js server keeps track of rooms, players, scores and game state. Server-Sent Events deliver updates to the connected phones. Hidden roles and answers stay on the server until each player is meant to see them.
What I used
JavaScript and Node.js for the application, real-time streaming for multiplayer updates, and Claude Code to help develop and debug it. I chose the games, tested the host and player views, and refined the experience through group play.
Why I built it
I wanted games that friends could join from their phones, with one shared room instead of a separate setup for every game.