Level 1 of my game took me an afternoon to balance.
Level 400 took zero minutes. A bot played it hundreds of times while I slept, picked the drop limit and the star scores, and wrote them into the level file.
That's the only reason a solo dev with no studio and no budget could ship 400 physics puzzle levels. This week the game also made its first sale, to a stranger.
The game is Moss & Glow, a cozy drop-merge puzzle on Google Play. You drop little forest creatures into a jar; two of the same kind touch and merge into the next one. Physics makes it feel alive, and physics is exactly what makes it impossible to balance by hand.
Here's how I built it (Phaser 4 + Capacitor), how the bots work, and the honest numbers two weeks after launch, including the one that's keeping me up at night.
The stack
- Phaser 4 + TypeScript for the game
- Matter.js (through Phaser) for the physics, because the merges have to feel soft and bouncy
- Vite for builds
- Capacitor 8 to wrap it as a native Android app
- RevenueCat for in-app purchases, Firebase/GA4 for analytics, Supabase for the small backend bits
Writing a mobile game as a web app and wrapping it worked well for a solo dev. I get hot reload in the browser for 95% of the work and only touch Android Studio for builds and native plugins. The catch is that you still have to test on a real phone. Touch feel, safe areas, the back button, audio focus and ad SDKs all behave differently there than in a desktop browser.
The hard part wasn't the code, it was 400 levels
I wanted a game you could play for months, so I set the bar at 400 levels across 20 seasons, each season adding something new (ice blocks, fireflies, pebbles, wind, two goals at once...).
Hand-tuning 400 physics levels isn't realistic for one person. Physics is chaotic: the same level can feel easy on one run and impossible on the next. So I wrote bots.
The game logic runs headless in Node, without rendering. A few bots with different skill levels (a "decent" player, a "careful" player) each play every level many times. For each run I record the drop on which the goal was met. Then the level's numbers come straight from those results:
- Drop budget: the fewest drops at which a normal player nearly always wins
- 2 and 3 stars: how many drops a good player usually has left over, so 3 stars feels a little hard but fair
One command (npm run calibrate -- --from 201 --to 220 --write) plays the levels, picks the numbers and writes them back into the level file. Levels that are already live are locked, so a re-tune never takes stars away from real players.
This one tool is probably the best investment I made. Without it, levels 1ā400 would never have shipped.
Things I didn't expect
1. Ad networks are harder than the game. My first two ad network applications were rejected (one after an appeal) before a third approved me. If you plan to earn from ads, apply months before launch, not the week of it.
2. "Cozy" is a design rule, not an art style. Every time I added pressure (timers, harsh fail screens, pushy popups), testers got annoyed. Taking it out made the game better. Ads are now short, and buying "No Ads" removes them for good.
3. Store pages matter more than I thought. My first screenshots were "fine". Fine doesn't get clicks. I'm now testing a connected panorama style where each screenshot flows into the next.
The numbers (honest version)
- 400 levels, 21 creatures, 20 seasons
- First real sale this week: someone I don't know bought "No Ads". It was a few dollars, but it's the first proof that the whole pipeline (Play Billing ā RevenueCat ā the game) works for a real player.
- The big problem: day-1 retention is around 8%. People who stay play ~18 minutes a day, but most never come back after the first day. That's what I'm working on next: a gentle "remind me to play tomorrow" option after a win, and a reason to return each morning.
If you've solved day-1 retention in a casual game, I'd really like to hear what worked for you.
A note on the art
The code, levels and design are mine. Some of the art was made with AI help and then edited by me. As a solo dev with no art budget, that's what let me give 21 creatures a consistent painted look.
Try it
Moss & Glow is free on Android:
š Moss & Glow on Google Play
Next post: how the headless bots work in more detail (Matter.js in Node, seeded randomness, and keeping the sim in sync with the real game). Follow if that sounds useful.
Feedback is welcome, especially harsh feedback on the first 5 minutes. šæ
Top comments (2)
The bots are the smartest part of this, and the locked-levels rule is exactly right ā nothing kills trust faster than taking stars away from a player who earned them. Where I would look next is the gap between your bots and your real players: your bots measure whether a level can be won, but they cannot tell you whether the first five minutes feel rewarding. With 8% day-1 retention and 18 minutes a day from the people who stay, the game itself is clearly working for the ones who get past the start. My guess is the leak is before the first real merge payoff ā if the first session does not hand the player a satisfying combo and a visible next goal quickly, most people never find out how good the later levels are. One thing I would measure is where the first session actually ends: how many players reach their first merge, their first 3-star, and the first season unlock, and how long each takes. If the drop-off is before the first merge, the fix is onboarding, not difficulty. Do your analytics show whether the players who leave ever saw a combo chain, or did they quit before the jar ever really filled?
The calibration loop is the best investment in the post ā but the 8% day-1 retention might be telling you something about the bots, not just the onboarding. If your 'decent' bot is better than a real day-1 player, the levels are tuned to a player who doesn't exist yet, and the star thresholds punish new players in the first five minutes. One check worth running: compare the bots' drop counts against real players' drop counts on levels 1ā5 specifically. If new players need materially more drops than the decent bot to clear level 3, the difficulty curve starts too steep no matter how good the tutorial is. The other number I'd watch is which level the churn happens on ā if it's level 1 or 2, it's the first-five-minutes feel; if it's level 8ā10, it's the tuning. Either way, the headless sim gives you the tool to answer it: seed the same level for bot and human and compare distributions, not single runs.