Skip to main content
Oare Arene*
← All work
Playable, in playtesting

TuckedIn

A cozy multiplayer bedtime game for families and friends. The kids are meant to be asleep, but there is mischief to finish before a grown-up with a flashlight comes round to tuck everyone in.

TuckedIn gameplay: a panda in pajamas sneaking through a dark house with a mischief list in the corner
A kid sneaking toward the mischief list while the grown-up patrols.
My role
Creator: game design, art, server, and client
Timeframe
2026
Built with
TypeScript · Phaser · Vite · Node.js · WebSockets · Redis · Vitest

The problem

Hide and seek is easy to explain and hard to make fair online. Each player should only see what they could really see, a hidden player must not be given away by the network, and the game has to stay fun for a child on a phone and an adult on a laptop at the same time.

What I built

TuckedIn is a browser game for families and friends. Kids sneak through a dark house to finish a mischief list while a grown-up with a flashlight goes round the house tucking everyone in, and the grown-up role rotates each night. An authoritative server runs the rules and sends each player only what they could see, so fog of war cannot be cheated from the browser. Bots can fill empty seats, and the host chooses the night length, difficulty, and mood.

What shipped

  • Private rooms with a five letter code or invite link, and bots to fill empty seats
  • Kids finish a mischief list, hide in closets, beds, and curtains, and use a toy: pillow decoy, sock slide, squeaky toy, or blanket cape
  • Four grown-ups (Dad, Mom, Grandma, and Nanny), each with their own flashlight, speed, and power, rotating each night
  • Tucked-in kids become dreamers who see the whole house and help their team
  • Cozy or Spooky mood, adjustable night length and grown-up handicap, and an optional helper arrow for younger players

Under the hood

  • An npm workspaces monorepo with shared, server, and client packages; the house layout, balance numbers, movement, line of sight, and pathfinding live in shared code used by both sides
  • The server runs each night as a pure simulation with no I/O, which keeps the rules easy to test and the bots easy to add
  • Rooms are saved to Redis and restored after a restart
  • Each player is sent only what they could see or hear, so a hidden player cannot be found by inspecting network traffic
  • The Phaser client predicts the local player and interpolates everyone else about 100 ms in the past, with lighting drawn as a multiply-blended light map
  • Nicknames are filtered on the server with the obscenity package

Gallery

Progress

  • Designed, built, and deployed the whole game solo, from the rules to the art.
  • Shipped a playable night loop with lobby, bots, and four grown-up characters at tuckedin.ainogames.com.
  • Covered the shared rules and server simulation with automated tests.

Next steps

  • Finish the polish pass: ambient lighting for hiding and bot balance for longer bot-only nights.
  • Playtest full nights with children and tune the balance numbers.
  • Check touch controls, sound, and the results screen on real phones and browsers.
← All work