How I Built Club Kitten, a Cozy Cat-Hatching Game for iPhone
How I built Club Kitten, a cozy cat-hatching iPhone game: cloud saves with Supabase, social features designed for safety, AI-made art and App Review lessons.
Club Kitten is a cozy iPhone game about cats. You hatch kittens from mystery eggs, raise them from Kitten to Legend, play minigames, win battles against rival cats, and decorate a Cat Lounge where your cats wander and your friends can visit. It has no ads and nothing to sign up for. This is how it was built.



It's also a record of building a real, online, family-friendly game with an AI coding assistant. The repository's history starts on 25 September 2026 with a v1.0 release candidate, and all 35 commits are co-authored by Claude. Roughly 10,500 lines of Swift across 29 files, plus a Supabase backend, took it from version 1.0 to 1.5 in about a month.
The game in one minute
- Eggs and breeds. Every mystery egg hatches a cat with its own breed, personality and stats. There are ten breeds in four rarity tiers, from Basic through Rare and Epic to Legendary. A breed book tracks which ones you've found and how likely each tier is.
- Raising. Cats grow through Kitten, Young, Adult and Legend stages. You train stats and unlock moves such as Pounce, Hiss and Zoomies.
- Play. Minigames, daily challenges with streak bonuses, and turn-based battles against rival cats.
- Home. The Cat Lounge: furniture from the Cat Mart, wallpaper, recoloured fabrics, a name for your lounge, and new places to decorate (a park, a museum and a mansion).
- Friends. Visit each other's lounges, sign guestbooks and send playdate invites.



The stack
The app is native SwiftUI for iOS 17 and later. The core game runs on the device: hatching, raising, battles, minigames and decorating don't need a connection. The online parts sit on Supabase (Postgres, anonymous authentication, realtime channels and edge functions), with Game Center for player identity and push notifications for friend activity.
Art and animation, made with AI
The cat art and the idle animations were made with Higgsfield. Version 1.4 added real walk, jump and turn-and-sit animations for all ten breeds. Your lounge then shows the cat you selected, which walks to wherever you tap. (I wrote up the workflow for driving Higgsfield from Claude separately.)
One thing worth doing before you ship AI-generated art: read the tool's terms. My App Review reply notes that Higgsfield's terms permit commercial use, so there's a written record.
Cloud saves without accounts
The App Store listing promises "no accounts", but players still expect their cats to survive a reinstall. The answer was anonymous sign-in: every install gets a Supabase account with no email or password, and the whole game is stored as one save in a saves table. The rules that make it safe are the interesting part:
- The phone is the main copy. Each save bumps a version number. The app uploads about three seconds after a change, and again when it goes to the background.
- Newest version wins. A
push_savefunction only stores a copy newer than the server's. If an upload is rejected, the app downloads the server copy instead of retrying. - A fresh install can never overwrite progress. A phone that has never synced with the account always takes the server's copy first, so a new starter save can't wipe a collection.
- It works offline and without keys. If the backend is unavailable, the app falls back to on-device saves.
Social features for a game rated 4+
Letting people visit each other's lounges in a game that children may play means designing for safety first. The principles behind it:
- No free text. Live visits use a private realtime channel, and only the owner and their friends can join. What's sent is indexes into fixed lists (stickers, phrases, gifts), never typed messages. You can't be sent anything the game didn't write.
- Friends only, by code or Game Center. Identity comes from Game Center: the server verifies Apple's signed proof of the player in an edge function and stores it, so the client can't claim to be someone else.
- The server enforces the rules. Limits such as playdates per day, cooldowns and who can visit live in the database, not just in the app.
- Report and block everywhere. From the friends list, a lounge, the guestbook and playdate invites. Blocking is instant, reports go to a table I review, and suspended players disappear from everyone's friends and can't visit, sign guestbooks or invite anyone.
- Account deletion inside the app, added for an App Review round (build 4 of version 1.2).
One honest trade-off: coins, stats and battles are still stored on the device. That's fine for a cozy single-player economy, but moving them to the server is the next step if cheating ever becomes a problem. Choosing what not to put on a server is a design decision too.




Releases, one small step at a time
The version history reads like a conversation with players:
- 1.0: hatching, ten breeds, battles, minigames and the lounge. The app began as "Kitten Hatchery" and was renamed Club Kitten the same day.
- 1.1: cloud saves.
- 1.2: friends, with report and block, and a dev mode with practice friends for testing without a second phone.
- 1.3: new places: park, museum and mansion.
- 1.4: friend requests, arena defenders that earn coins, optional notifications, walking cats and tap-to-move in the lounge. Version 1.4.1 followed a day later to fix a playdate invite that got stuck on "Waiting…".
- 1.5: a Kitty match memory game, Pond fishing with a rare golden fish (and old boots as junk), and rebalanced coin rewards.
What App Review taught me
The most useful rejection was about the iPad. Club Kitten is an iPhone app, so on an iPad it runs in iPhone compatibility mode, in a small 375 × 667 point window. A few screens had been laid out for taller iPhones and didn't fit: the hatch screen pushed its title and button off screen, the decorating tray was squeezed with a tab label cut off, and the report sheet hid its Send button. The fix was to make those screens scale to the space available and keep the key controls visible with the keyboard open, then test every screen in compatibility mode on a real iPad size, not just on iPhone.
An earlier round led to in-app account deletion. In both cases, a short reply that says exactly what changed, how to test it and what the app uses goes a long way.
A landing page that uses the game's own animations
The marketing page is a small static site that reuses the app's real animations: a walking parade of all ten breeds that jump when you tap them, a few screenshots, and a download button that shows the real App Store price, localised for each visitor. Reusing the assets meant the page was cheap to build and always matches the game.
What I'd tell someone building a social game
- Start with safety: fixed vocabularies instead of free text, report and block, deletion, and rules enforced on the server.
- Make progress safe by design: version your saves and never let a new install overwrite an old one.
- Keep the game playable offline and put on a server only what has to be there.
- Test on the smallest screen you support, including iPad compatibility mode.
- Ship small and often, and fix the annoying bug the day after.
- Check the terms of any AI tool before you ship what it made.
Try it
My other game is Pompa the Chinchompa, a rolling puzzle, and the general approach is in my playbook for building an iOS game with Claude. If you're planning a game or an app and want a second pair of hands, say hello.
Keep reading
-
How I Built Pompa the Chinchompa, a Rolling Puzzle Game for iPhone
How I built Pompa the Chinchompa, a rolling puzzle for iPhone: the solver behind every level, the loop bug I fixed, AI-made animation and App Store lessons.
-
How the Particle Morph on This Site Works (Three.js, 11,000 Points)
A walkthrough of the three.js particle scene on nemr.app: sampling shapes, per-particle easing, a custom shader, pointer interaction and a small bundle.
-
Expo Exact vs Expo and React Native: What's Different and What the Performance Numbers Show
Expo's experimental Exact framework compared with Expo, React Native and React: the Contract language, native rendering, and which performance claims hold up.