Skip to content

Building a Canasta App with Our House Rules, Day 4: A Name and a Marketing Site

With phase 1’s checkpoints closed on Day 3, Saturday was about something other than the game itself: a place on the web that says what it is, and a name that could hold more than one game.

A name and a spec

Canasta is the first game, but I don’t want it to be the only one. So the marketing site got a name for the whole suite: Homefelt. The line that goes with it: “Your family’s rules. Everyone at the table.”

I wrote the spec for the site myself, in docs/marketing-site.md, the same way the game started on Day 1: the writing first. It’s a static site built with Astro. The main button on almost every page is “Play in your browser”, which opens the web game that already exists. No accounts, no CMS, and no changes to the game.

For the look, I had two of my mockups I liked, “The table” and “Evening table”. A design canvas combined them into one direction, and that’s what the spec describes, section by section, down to the order of the home page.

From the spec came the issues: an epic for the site (#104) and one issue per item of its first checkpoint, “a site that exists” (#105 to #112).

Foundations first, stacked

The first four pull requests were foundations, each built on the one before it (#113 to #116):

  • The Astro project, with the Atkinson Hyperlegible Next font, the typeface the game already uses. The colours and sizes come from the same design tokens as the game, through bin/gen-theme, so the site and the game can’t drift apart.
  • The page layout, with a header, a footer and a skip link.
  • Cards drawn in code, the way the web game draws them, with no image files. Two switches sit above them, Text size and Deck (four colours, or red and black), and the site remembers the choice across visits.
  • An accessibility test that runs axe on every page, in light and dark, at both text sizes.

That last one matters most to me. The site is for the same older players as the game, and the test lists every page automatically, so a page added later is checked without anyone remembering to add it.

Three pages in parallel

Once the foundations were in place, three pages were built at the same time: the home page (#117), the Canasta game page (#118), and the accessibility and privacy pages (#119). They didn’t touch the same files, so the agents could work side by side, the same way the checkpoints did on Day 1.

Since Day 2, every pull request that changes a screen comes with screenshots, and Claude checks them before they reach me. That caught something on the game page. Two of the phone screenshots on it were older than the change that replaced the sort buttons with a dropdown and removed the meldable dots (#102). The site was about to show the old app. The page went back for new screenshots before I ever saw it.

Check it before you say it

The accessibility and privacy pages make promises, so every fact on them was checked against the code before it went on the page. Can you move through your hand with the arrow keys? What exactly does deleting an account remove? The answers come from the code and the server’s own documentation, not from what I remembered or what sounded right.

The same idea runs through the rest of the copy. Two rules:

Mark what isn’t decided. I haven’t decided about ads or pricing. Wherever the site would need an answer, there’s a TODO(ads) marker instead of copy, so one search finds every spot once I decide.

Don’t claim what isn’t true. The spec has a “Do not claim” table: each line is something the site must not say, why, and what to write instead. No “Expert AI”, because the computer players are Easy and Normal. No “no ads”, because there probably will be ads for people who don’t subscribe. No prices, because there aren’t any yet.

It’s a strange kind of marketing that starts with a list of things not to say. For a family game, I think it’s the right kind. The people I’m building this for will believe what the page says.

By the end of the day

By eleven at night seven pull requests were waiting for me: the four foundations and the three pages. I left them for the morning.

What I learned on day 4

A spec works for a website as well as it does for a rules engine. Writing down the pages, the copy and what not to claim meant the agents spent their time building, not guessing.

Stacking the foundations and then building the pages in parallel was the same pattern as the game: get the shared parts right once, then split the work so nobody steps on anyone.

The screenshot reviews paid off again, on a page I hadn’t even looked at yet. A site that shows last week’s app would have been a quiet kind of wrong that no test checks.

Copy is a claim. Checking each one against the code was slower than writing it, and it’s the only way I’d trust the accessibility page enough to publish it.