Ten months making a game with Claude Code
Bubble Blend, my first Android game, built over ten months with Claude Code. The struggles, the dead ends, and the lessons that came out of them.
Ten months ago, on 23 November 2025, I opened a terminal, launched Claude Code and typed something like: "shall we make a ball sort game?". You know, those tubes full of coloured balls you have to sort by colour. Simple, relaxing, universal.
I was already using Claude Code at work, but on web applications, in a well-marked-out setting. On the other hand, I had never made a game, let alone an Android one. So the idea was to kill two birds with one stone: really get to grips with Claude Code on a personal project, with no safety net, and discover mobile game development with a real game published on a real store. In my head, it was going to be quick and easy: a few weeks and it would be done. Spoiler: not quite :D
Ten months later, the game is called Bubble Blend. It is on the Play Store, it speaks twelve languages, it has four worlds, five duel modes and a weekend tournament. It has been downloaded around 15,000 times, and a little over 700 people play it every day. And the repository holds nearly 2,300 commits, more than a third of which start with "fix". Those are the ones I want to tell you about, because that is clearly where I learned the most. Everything below comes straight from the Git history: I just allowed myself to tell it the way I lived it.
Building costs nothing, deciding costs a lot
The very first commit in the repository is called "Initial commit: GatherColor game with Mastermind mini-game". Yes, really: a ball sort game whose birth certificate mentions a Mastermind. Because the original plan was this: a bonus tube locked with a padlock, and to open it, you had to win a mini-game rather than watch an ad. The next day, nine more mini-games had turned up: a maze, a Simon, a stopwatch, rock-paper-scissors... My ball game had become the entrance hall of a funfair.
To be fair, with Claude, adding a mini-game took an hour, so why hold back? Except that afterwards I would realise it was not that fun, or not really in the right place, and it had to go. A circuit puzzle got five fixes on the day it was born (its generator kept churning out impossible or already-solved levels), before being deleted the next day. Others did not even last a day. And on 23 December, exactly one month after the first commit, I deleted all the ones that were left. Bubble Blend would be a ball sort game, full stop. It took me about twenty mini-games to understand what my game was not!




I regret nothing: each one taught me something about Compose, animations or level generation. But I made exactly the same mistake again a bit later, in other forms. On 7 January, I spent the morning polishing landscape mode, with nine tubes on each side of the screen, and the afternoon deleting it entirely, more than 4,000 lines straight in the bin. In April, the duel rewards dialog went through three different architectures in one week, with two rollbacks in the middle, just to keep things interesting.
That is the first real lesson of the adventure, and honestly, I did not see it coming: with an AI, writing code costs almost nothing any more, and that is exactly why decisions become so important. When trying is free, you try everything... and then you spend weeks undoing what you never should have done.
The Play Store, a game within the game
I thought the hardest part would be writing the game. Big mistake: a good share of my evenings went into understanding the Play Store, which has its own rules, and none of them can be guessed.
The first challenge comes before you can even publish anything. For a first game on a brand-new developer account, Google requires a closed test with at least twelve testers active for fourteen days in a row. And there is no commit that solves that: just messages, reminders, and a lot of gratitude to those who played along. My family did most of the work. And among those testers, three never left: my aunt, 79, my uncle, 88, and my cousin. They went through the very first versions, the ones where the balls changed size on their own, and they still play today, several times a week. My first fans, and not the least loyal! On top of those three, there is another dedicated player who plays in long sessions: through her bug reports and feature requests, she has done a great deal to improve the game. And so has my son, a player who shows bugs no mercy :D
Then came the evening of 8 December. The permission needed to show ads was properly declared in the project, but the Play Store swore it was not there. Every attempt meant uploading a new version, so bumping the version number. Between 5:30 and 8 pm, we tried seven different syntaxes, each one presented by Claude as THE solution, only to end up... on the one we had tried first, but after clearing the build cache. The culprit was most likely that cache all along. Ever since, the release procedure always starts with a full clean.
The next day, another surprise: the tool that shrinks and obfuscates the code of release builds had renamed the fields sent to the database. In production, players' data had keys called a, b and c instead of coins or pseudo, and nobody could read them any more, not even my admin screen. The kind of thing you learn once, usually the hard way.
There were also the rules for family games, which require an "AD" badge on every button that starts an ad and forbid several ad placements on the same screen, and the 500-character limit on release notes, which German blew through every single time. And in September, I found out that the data safety form had claimed from day one that the game collected no data at all, even though it ships with ads, Google sign-in and an online database. Oops. While fixing it, I lost my changes twice, because the "Save" button was tucked away in a three-dot menu. Thanks, Google.


What I take away from it: the Play Store is part of development, not just the finish line. You discover its rules by stepping on them, so every trap deserves to be written into the release procedure so you never fall into it again.
An AI gets things wrong with great confidence
Working with Claude every day means having a tireless, fast and often brilliant partner, with one quirk of its own: it is wrong with exactly the same confidence as when it is right.
On 1 December, a version shipped just to lower the targeted Android version, with a commit message seriously explaining that "Android 36 (API 16)" was not out yet. It is the other way round: Android 16 is API 36. In March, Claude told me that six of our audit agents had been truncated by mistake, and restored them: more than 2,600 lines added. I went to check the history and found that we were the ones who had deliberately compressed them a month earlier. It had rewritten our own history to fit its hypothesis! Since then, whenever the AI tells me about the past, I check git log.
On Christmas Day, I wanted to add an animation where the balls of a finished tube get sucked into a spiral. Between 8:47 and 10:23 am, while other people were opening their presents, we chained together about fifteen commits. Around 10, after a fine string of failures, Claude wrote a deliberately bare-bones version, with this message I love for its honesty: "If still broken, issue is elsewhere". And sure enough, the problem was elsewhere :D We ended up dropping the idea of starting from the exact position of each ball, and nobody can tell the difference.
But my favourite moment is 10 January. We had spent hours animating two tubes swapping places, chasing ghost balls and fixing a few pixels of misalignment, before discovering, thanks to a commit titled "execute real swap after animation", that the tubes were not swapping at all. The animation was perfect, and right after it the board went back exactly as it was. The same day, a fix promised in capital letters that the level shown would "ALWAYS" be the one launched; the next commit calmly explained that a player on level 2000 who left the app now lost their game.


Then there are the self-assessments, which I am quite fond of. During a day of code clean-up, three commits in a row announced a maintainability score going from 6.5 to 8.5, then 9.5, then 9.8 out of 10. Two weeks later, a commit from the same campaign broke the build because of a forgotten import. 9.8 out of 10, then. I eventually understood that an AI reviewing its own work is a very, very lenient judge, and that the truly useful reviews are the ones done by agents that did not write the code, with a precise list of things to look for. The audits I set up in the spring found in a single afternoon flaws that were several months old: tournament entry fees charged twice on a double tap, a tournament rank computed on the phone (so easy to tamper with), or a purchase credited twice if the game crashed at the wrong moment.
The last point is subtler, and probably the most important. In August, we wrote an architecture document for the game's economy together, which handed everything over to the server. On paper, it was solid. A few hours later, I remembered a constraint I had never written down anywhere: the game must stay playable offline, on the underground or on a plane. The document was revised the same day, and the whole architecture flipped like a pancake. Claude designs very well from the constraints you give it, but it does not guess the ones you forgot to give it.
What I take away from it: with an AI, the real work is no longer writing, it is checking. Checking what it claims against the code and the history, getting a review from someone (or something) that did not write the code, and setting out the product constraints before asking it for an architecture.
Sync, the big bad of the story
If I had to name the toughest problem of these ten months, it would not be the animations, the Cloud Functions, or even the Play Store. It would be syncing between the phone and the cloud, the thing that lets you get your game back when you switch devices. It came back to haunt me almost every month, each time in a new disguise.
In December, reinstalling the game reset your streak of days played. In February, we adopted a very simple rule: keep the higher value between the phone and the cloud. Perfect for things that only go up, like purchased upgrades, but a disaster for everything else: spent items reappeared as if by magic. In March, to save on the database quota, I delayed uploads by thirty seconds... and that small delay was enough for a sync to read a stale cloud and wipe the coins a player had just earned by watching an ad. Nicely done.
At the end of May, Claude suggested an elegant solution: a merge that takes the last synced value into account, to keep both the spending done on the phone and the gains coming from elsewhere. A few days later, on my own phone, I watched my ad-skip count drop from 306 to 233 in a few minutes. Someone was stealing my skips! We packed the code with logs to trap the thief, and we caught it: when an upload to the cloud took a little too long, the game thought it had failed even though the database had saved it, and the resulting gap nibbled away at skips on every sync. Then in July, the same mechanism pulled the opposite trick on us: on an established account, buying 500 coins credited 1,000, because the server and the phone each credited them on their own side, and the merge kindly added the two together. The players concerned probably did not complain, but still.



From all this, I keep one rule that looks obvious once written down, and that took me months to put into words: a balance should only go down because the player spent something, never because a sync happened to pass by. Along with its little brother: a given value must have only one boss, the phone or the server, never both. And I am not sure sync has had its last word...
The most dangerous bugs do not crash
At first, I naively thought a healthy game was a game that did not crash. I learned that the worst bugs are the ones that leave every light green.
In June, an audit recommended changing the lifetime of the tournament controller. Reasonable change, tests green, we shipped... and the tournament became unreachable. The screen had two instances of its ViewModel: the game started in one while the screen was watching the other, and the Play button showed a loading spinner that spun for eternity. No crash, no freeze detected, nothing in the reports. Since then, every blocking loading screen in the game has its own little watchdog, which warns me if nothing moves after fifteen seconds.
That same month, the Play Store statistics showed me something odd: the game used four times more CPU in the background than while playing. The culprit was the music. During the crossfade between two tracks, two players existed side by side for a few seconds, and if the player left the app right at that moment, only one of the two was paused. The other kept playing at under 3% volume, on a loop, completely inaudible, draining the battery for a concert nobody could hear. A real music-loving ghost.
In August, an audit found a case where the game could stay stuck on the start screen forever, and the commit message sums up the drama perfectly: this bug had a 100% crash-free rate, so it was invisible in the metrics. And then there were the duel times of about 56 years: when a single tap both started the timer and won the game, the start time was still zero, and the recorded time was the number of milliseconds since 1970. We fixed it in June for duels... and again in August for the tournament, where exactly the same bug had sprouted.



What I take away from it: what does not crash still needs watching, especially waiting screens and anything running in the background. And a bug fixed in one game mode almost always comes back in another, unless all modes share the same code.
Turning every struggle into a tool
Looking back, what I am proudest of is not a game feature. It is the way the project ended up protecting itself from my own mistakes.
The instructions file Claude reads at the start of every session now holds a whole series of rules marked "CRITICAL". When I reread it with these ten months in mind, it is almost a memorial: every rule matches one specific bug. The one requiring the game state to be updated before saving comes from a ball that landed next to its tube, in November 2025. The one making tubes immutable comes from a function that "repaired" missing balls and hid the real problem. The one forbidding an update prompt every time you return to the app comes from a window that kept coming back in a loop, twice, three weeks apart. There is even one that forbids writing your own function to format a duration, with this bitter comment: "there have been seven".
The tools followed the same path. The release command was born at the end of December so I would stop forgetting steps, and today it runs every step on its own, from release notes in twelve languages to the upload to the Play Store. Other commands read the Play Store stability statistics, sort through player feedback, or extract the lessons of a work session and write them where they will be read again. And since September, routines even run at night: they check translations, go through crashes, run the tests and leave me a little log for the morning. It is quite funny to discover over breakfast what your partner got up to while you were asleep.


On 30 September, at 6:14 am, the end-of-night routine closed its log with: "Repaired or reverted: nothing." After ten months of fixes, I thought it was a lovely line to close this first season.
What I take away from it: a mistake that happens twice deserves a rule, and a task repeated three times deserves a tool. Claude rereads these rules at every session, and that is what stops it from repeating my blunders for me.
What I keep
I started this project to push Claude Code further than at work and to make an Android game. I learned both, but not at all the way I imagined. I thought I would learn to code faster, and mostly I learned to check, to review, to throw things away when needed, and to turn every mistake into a rule so it does not happen again.
If I had to sum up these ten months in a few lessons, they would be these:
- When building costs nothing, the decision is what counts. Before adding or polishing a feature, ask whether it really needs to exist.
- AI gets things wrong with confidence. What it claims gets checked, in the code as in the history.
- An AI does not guess the constraints you do not give it. Write them down before asking it to design anything.
- Get a review from eyes that did not write the code. An AI reviewing itself is far too lenient.
- A balance only goes down through spending, and a piece of data has only one boss. That is everything sync taught me in ten months, and it cost me dearly.
- The worst bugs do not crash. Keep an eye on what waits and what runs in the background.
- Every repeated struggle becomes a rule or a tool. That is what moves the project forward, not just the code.
And then there are the players. The 700 who come back every day, and among them my aunt, my uncle and my cousin, who are still playing. No statistic has ever made me as happy as knowing that those three launch the game several times a week, ten months after the first versions. Or that so many improvements came from the feedback of that dedicated player, always there to report a bug or suggest an idea, and from my son, who doesn't let a single one slip by. So if you are starting a project like this, find your loyal players: they are the ones who keep you going on the evenings when nothing works!