---
title: "Curing The Imposter syndrome"
description: "How my 2020 party game The Imposter went from offline and stuck on upgrades to healthier than ever, by rebuilding it from scratch with AI."
url: https://www.sammullins.co.uk/articles/curing-the-imposter-syndrome/
date: 2026-12-05
updated: 2026-12-04
authorship: Sam + AI
---

# Curing The Imposter syndrome

How my 2020 party game The Imposter went from offline and stuck on upgrades to healthier than ever, by rebuilding it from scratch with AI.

Six years ago I launched The Imposter, a party game for phones. Everyone gets the same word from a grid, except one player, who gets nothing and has to bluff through a few rounds of clues and accusations without being caught. You join with a short code and play in the browser.

Then it got so sick with security warnings and upgrade problems that I took it offline, and I didn't think it would recover. This year I rebuilt it from scratch with AI, and it is healthier now than it has ever been. What I learned from it is not to get attached to old architectures, and to be much more ambitious than just upgrading what you have.

## Born healthy: the version I built by hand

I built it in the evenings and at weekends, and the beta went out in December 2020 with a short video on how to play, and in April 2021 I wrote up [the 5 cool things I used to build it](/articles/5-cool-things-i-used-to-build-the-imposter/).

That version had five moving parts. An ASP.NET Core API for the rules. SignalR to push game state to every phone in the room. Cosmos DB, using the Table API, to hold the game. Ionic and Angular for the app. And Swashbuckle with swagger-nodegen-cli to generate the client from the API definition.

Each one earned its place at the time. The price was that five things have to stay in step, and one of them is a server I have to keep running.

![Diagram of the 2020 stack: an Ionic and Angular app calling an ASP.NET Core API, which stores the game in Cosmos DB and pushes the whole game to every phone through SignalR, with a generated API client as the fifth part.](https://www.sammullins.co.uk/_astro/stack-2021.ZoFcw4R0.avif)

_The 2020 stack: five moving parts._

## Symptoms: warnings that wouldn't stop

Vulnerability warnings for its npm packages started coming through non-stop. At the same time, the free Firebase Hosting tier serving the front end was getting used every month, even though there wasn't a single game in Cosmos DB. I never found out exactly why. Nobody was playing it, and it had been effectively dead for years, but with that many warnings I wasn't going to leave it running, so I took it down.

Bringing it back meant a lot of breaking changes, and eventually I tried to get AI to do the upgrade, I think on Gemini 3. It was much more limited than what I use now, and the upgrade never got finished. The .NET side upgraded fine. Angular and Ionic were the problem: after the first pass the design looked completely wrong, because parts it relied on, like Ionic's slides, had been deprecated.

## Signs of life: 18,000 views on an offline game

The video I made for the beta, a quick overview of [how to play](/articles/how-to-play-the-imposter/), has had 18,000 views. My next best video has had about 1,000. For years it barely moved, and then, long after the game had died, it started climbing.

I don't think all of those people were looking for my game. There is another imposter word game with much the same name, and I suspect a lot of the views come from people searching for that. Either way, it told me people still wanted to play something like it, and mine wasn't there.

- **How to play The Imposter** (18,000): YouTube views since December 2020, from YouTube Studio on 4 December 2026.
- **My next best video** (1,000): YouTube views, roughly.
- **People playing it** (0): Effectively dead the whole time the views climbed.

## A transplant, not a patch

So in October I started again rather than trying another upgrade. I used Claude Code, across several sessions. Most of the commits credit Claude Opus 5.5, with some Sonnet 5.5 and Haiku 5.5 mixed in.

It is now on Cloudflare. One Worker serves a React app, built with Vite and Tailwind, as a PWA, and hosts a Durable Object per game. A Durable Object is a small piece of server code with its own storage, and Cloudflare runs exactly one of each by name; here the name is the game's five digit code. Its storage is SQLite, and its WebSockets can hibernate, so when nobody is talking, Cloudflare takes the game out of memory and the phones stay connected.

Cosmos DB went, because the game's state lives in the object that is already holding the game, and SignalR went with it, since the WebSockets are part of the same object. The types are shared between the Worker and the app, so there is no client to generate either. It is TypeScript from the rules through to the screens.

The models are far better now, but the bigger change was the job I gave this one. It was writing a new game on a new stack, rather than dragging an old one through years of breaking changes. It was good at the parts I would have found tedious and easy to get wrong: the rules, the wire protocol and the tests around both.

![Diagram of the stack now: phones running a React and Tailwind PWA connect over WebSockets to one Cloudflare Worker, which holds a Durable Object per game with its rules, SQLite storage and WebSockets, and sends each phone only its own view.](https://www.sammullins.co.uk/_astro/stack-now.DW1Wu6C0.avif)

_The stack now: one Worker, with a Durable Object for each game._

## Complications: the UI

The rebuild slowed down at the screens, and it wasn't because the AI couldn't write the code. Ionic is a component library, and the old game leaned on it for the option grid and the slides. A slide is a full-screen panel that holds one decision and moves you to the next, and most of the old game's screens were built from them. The new app was React and Tailwind with no Ionic in it, and slides had gone from Ionic itself by version 7, so each piece had to be rebuilt one at a time to look and behave like the old game. The option grid and the slides took the longest.

So the day after the port, I moved the same code into a monorepo, so that I could build many more games on the same framework without starting from scratch each time. The rebuilt components stopped being one game's private problem and became a shared package, and since then I've built three more games on it: Blowhard, Ends in Tiers, and Spoof. The screens are the same screens, and the game's own components file is less than half the size it was.

![Four phones from the October port, still in the old style: the home screen with a white card and a Learn to play button; the lobby listing Sam as host with Priya, Tom and Jess; the option grid of sixteen colours with the secret word, Pink, highlighted; and the answers so far, flamingo, blush and paint, with Tom still to answer.](https://www.sammullins.co.uk/_astro/first-port.CG-YhbvU.avif)

_The October port before its redesign, still in the old style: home, lobby, the option grid, and the answers coming in._

## Healthier than ever

It is the best it has ever been: one Worker where there were five moving parts, and screens that nothing else has to duplicate. The old rules had a state that could never be reached, a finished round that vanished, and a host whose departure deleted the game for everyone. Those are all fixed now. The game code is five digits rather than five hex characters, which is a small change and a real one when you are reading it out across a room.

It looks better too. The port matched the old styles as closely as it could, and once it worked I challenged the AI to improve the whole UI, really just as an experiment. It worked very well. It kept the pink, mint and green and the cards on green, and changed nearly everything else: new fonts, player avatars, a secret card you hold to peek at, and clues that come in as bubbles. It also fixed the contrast of the white text on the green.

![Four phones from the game as it is now, in the same round: the home screen with Host a game and Join with a code; the lobby with the game code in tiles and the four players as avatars; the option grid of sixteen colour buttons with the secret word, Pink, highlighted; and the clues as bubbles, flamingo, blush and paint, with Tom still typing.](https://www.sammullins.co.uk/_astro/now.DGSephNs.avif)

_The game now, in the same round: home, lobby, the option grid, and the clues coming in._

### Each phone sees only its own game

The best thing about the new version is the change the old one needed most: each player is now sent only their own view of the game. In 2020 the API broadcast the whole game to every player and the client hid the word from the imposter. Now that word is never in the imposter's payload at all, and a test asserts that every player's view is identical apart from their own role, word, clue and accusation. Hiding something in the browser is not hiding it; sending it only to the person who should see it is.

The same is true of the smaller leaks. Somebody who joins as a spectator mid-round gets no word. Nobody is sent anyone else's accusation until everyone has made one, and the wagers stay off the wire until the round is finished.

### A deploy in the middle of a game

A deploy restarts every Durable Object and drops every socket. The client reconnects with a token it keeps in the browser and rejoins as the same player, with the same role and score. Stored games are migrated when they load, so a game that was dealt under the old rules still opens under the new ones, and a tab left open from before a deploy reloads itself between rounds, or offers a reload button mid-round, rather than carrying on with the old app. That is the sort of work that is easy to claim and easy to get wrong, so it is checked by tests rather than by me saying so.

## Revive your own old projects

If you have a project you gave up on because upgrading it was too painful, open it again. Start a new repo on a stack you would choose today, give AI the old one as the spec for the rules, and set it loose. With AI expediting the process, you have the opportunity to spend your time improving the gameplay, introducing new features, marketing it to the masses, or even just spending more time using the app that you so lovingly built in the first place.

It runs at [imposter.sammullinsai.workers.dev](https://imposter.sammullinsai.workers.dev/), on a Workers address while I attach the domain I want it to live at. The old Firebase address now just says the game has moved, and points there.
