Origin Functions Flow Tech Let's talk
Real Time
3-16 Players

El Impostor
Futbolero.

The Ultimate Deduction Game

El Impostor Mobile Previews
The Dilemma

From Paper to Screen

The Moderator Problem

In the classic "Paper and Pencil" version, one player must sacrifice themselves to be the moderator: writing roles, distributing them, and managing the game without participating.

Someone always stays out.

The Digital Solution

The platform takes on the moderator role. It assigns roles randomly and secretly, synchronizes game phases in real-time, and manages voting.

Everyone plays, no one moderates.

Real Time Multiplayer

Instant state synchronization between all connected devices using Firestore.

Automatic Roles

Secure algorithm for secret assignment of the keyword or the Impostor role.

Managed Phases

Fluid transitions controlled by the host, ensuring order in debate and voting.

The Game Ritual

A journey structured in 5 acts to maximize intrigue.

1

Lobby

Players join the room via a code.

Waiting for everyone!
2

Draw

Secret assignment of roles and keyword.

3

Declaration

Each player says a related word.

Careful what you say...
4

Discussion

Free time to debate suspicions.

5

Voting

Choosing the suspect and final revelation.

Architecture

The Technical
Engine

A system designed for minimum latency and state consistency, combining server robustness with client reactivity.

System_Topology.diag

Next.js 15

Server Actions

  • > gameLogic()
  • > roleAssignment()
  • > dataValidation()

Firestore

Real-time State

  • /rooms/{roomId}
  • > currentPhase
  • > players[]

RoomContext

UI Sync (React)

  • > useGameState()
  • > renderPhaseUI()
  • > optimisticUpdates()

Security Rules

> Restricted Read

Players can only read public room information and their own role. Others' roles remain encrypted by database rules until the end.

> Host Authority

Only the room creator has permissions to modify the global state (currentPhase), preventing manipulation by other clients.

Stack Tecnológico

Next.js 15 Firebase TypeScript Tailwind CSS Shadcn/UI Zod