WEREWOLF LOCAL

Same room.
Different identities.

Play Werewolf together on local Wi-Fi. Phones hold the roles; your group supplies the conversation.

Set up a local table ↓
The real preset, role and winning-rule controls before creating a room.

One server keeps the table together.

Run the game on a computer. Each person joins its room in a browser, checks their own identity, and follows the current phase. This is an in-person social game with shared state, not an online matchmaking service.

A room, not an account

Choose a name, create a room and share its code or QR link. Other players ready up; the host starts and can adjust the role setup.

A private role view

Living players receive their own role and available actions. Wolves can recognize their teammates. Dead players and the finished table can see more information, so keep eliminated players out of the discussion.

People do the talking

The app orders speeches and votes. Speak in the room, then press Done to pass the turn. There is no built-in voice call, transcription or AI opponent.

Choose a starting lineup

These compositions come from the actual 6 / 9 / 12-player buttons. This preview does not create a room or assign identities. If fewer people join, the server can rebalance the deck.

2Wolf
2Villager
1Seer
1Witch

What can each role do?

Wolf

Choose a night victim. Wolves can propose a target to one another before the action.

Villager

Listen, discuss and vote during the day. No special night action.

Seer

Check one target at night for Wolf or Good; this is not a reveal of every exact good role.

Witch

One save and one poison for the game. Saving yourself is blocked after the first night. Finish with Do nothing to advance.

Guard

Protect a player at night. This implementation blocks self-protection and the same target on consecutive nights.

Hunter

A death can open a final shoot-or-skip decision. Night poison prevents the shot.

Night actions become a day discussion.

  1. Check your identity

    The start gives players time to reveal their role privately.

  2. Act at night

    Existing roles act in Guard → Wolves → Witch → Seer order; absent roles are skipped.

  3. Speak and vote

    Daytime announces results, orders speakers, collects votes and handles tied candidates with a second speech/vote round.

  4. Follow the result

    Elimination, last words and any Hunter decision resolve before the next cycle or a winning side.

Agree on the winning rule before starting.

Good wins when no wolves remain. Both configurations also award wolves a win when their surviving number reaches or exceeds surviving good players. Side Kill additionally checks whether all ordinary villagers or all special good roles are gone. The Wipeout label is therefore not the only condition the server checks.

A Chinese judge on the host device.

Phase messages are spoken with the host browser’s speech synthesis in zh-CN, using an available Chinese voice. Other player browsers do not speak the same cues. Voice availability and audio playback depend on that browser; the English interface does not turn these announcements into English.

Your first local table

  1. Start the host computer

    Install and run the client and server, then open the frontend address printed in the terminal. Keep that computer running.

  2. Choose the lineup

    Enter a name, create a game and choose a preset or role toggles. Use the matching number of real people for the intended preset.

  3. Join from each phone

    Connect to the same Wi-Fi and open the host computer’s LAN address. Use its room code or Show join QR code. A phone’s localhost is the phone itself.

  4. Ready, then play

    Each guest taps Ready. The host starts when everyone is ready; follow the role action, speech and voting controls.

Real local host and player views

Keep the server running.

Rooms live in memory

The server holds active rooms in an in-memory Map. Restarting it loses those games. There is no account, cloud save, replay archive or match database.

Rejoin is tab-session recovery

The browser saves a room and player identifier in sessionStorage for reconnecting while that server room still exists. It is not an account recovery system.

Use a trusted local network

Room codes are ways to find a table, not account credentials. Run this prototype among people on the same trusted network; this intro does not publish your host to the internet.

Host it on your own network

Development runs the Node/Socket.IO server and the Vite client together. The backend starts at port 3000 and tries the next free port; a local .port file tells Vite where to proxy. Vite normally uses 5173. Use the actual addresses printed, allow local firewall access, and avoid isolated guest Wi-Fi.

For a built client, run npm run build --prefix client, then npm run server. Express serves client/dist and Socket.IO from its selected port. GitHub Pages only serves this introduction; it cannot run the room server. No Vercel app or AI key is required.

npm ci
npm start

UI, role and voice maintenance guide ↗

Source code ↗