Skip to content

Bring early players back: day-2 warm-up puzzle and one come-back nudge - #84

Merged
kevsaj merged 2 commits into
mainfrom
comeback-warmup
Nov 24, 2026
Merged

kevsaj merged 2 commits into
mainfrom
comeback-warmup

Conversation

@kevsaj

@kevsaj kevsaj commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Requested by Kevin · project thread

Why

Testers who stop do it on day one: after Floor 1, or stuck on Floor 2. The daily challenge and its reminder only open at Floor 11, so those players never see anything that brings them back.

What

Warm-up puzzle (all platforms except the itch demo)

  • From the player's second day, once Floor 1 is cleared and until the daily opens, the daily button's spot shows Warm-up puzzle · New today (title screen and tower map). It still says the daily opens after Floor 11.
  • A small puzzle that changes each day and only uses blocks the player already knows: one corner (Floor 2's lesson) for players who've cleared only Floor 1, 2 or 3 corners after Floor 2, and steps with jump after Floor 4. 4 to 10 blocks, no loops.
  • It's made on the phone from the date, so there's no bank. It's a corridor that never touches itself, plus dead-end tiles, so par is the walk. A test checks every day for a year in all three tiers against the real solver.
  • The first clear each day gives +1 hint for the tower, which helps players stuck on Floor 2. It doesn't touch the streak or tower stars.
  • Players updating from an older build who already cleared a floor count as returning, so they see it right away.

One come-back nudge (phones only)

  • After the first Floor 1 clear, the results card asks once: "Nice start! Want one reminder tomorrow, in case you forget to come back?" The phone's permission prompt only appears after a yes.
  • If yes, one local notification waits for tomorrow at about the hour they played (kept between 10 AM and 8 PM). Every launch pushes it a day later, so it only arrives on a day the game stayed shut. Once it goes off it's used up and never repeats.
  • The text says where they left off ("Floor 2 giving you trouble? A quick warm-up puzzle earns you a free hint." or "...Floor 2 is right where you left it."). Tapping it opens the warm-up.
  • It steps aside once the daily reminder is on or the daily opens. While it's waiting, Settings > Playing has a "Come-back reminder" switch to cancel it.

EN + FR (all new strings are in ui.json, and the i18n test passes).

Files

  • src/daily/warmup.ts (+ test): the puzzle generator
  • src/comeback.ts (+ test): first day, warm-up stars and hint, the nudge plan and scheduling, the tap listener
  • DailyButton, App, FloorScreen/ResultsCard (the warm-up plays through the custom-floor path with its own title, plus the nudge question), ReminderRows, CSS

Testing

  • npm test: 32 files, 2,762 tests pass. npm run build passes.
  • Checked in the browser at 390×844 in EN and FR: title, tower map, warm-up floor, clear (wallet went from 5 to 6 hints). Screenshots are in the project folder loopbot-comeback/.
  • Not checked on a device: the nudge question and notification only show on phones. Worth a look on the next APK: clear Floor 1 on a fresh install, say yes, and don't open the app the next day.

Rides with the next build.


Generated by Claude Code

Players who stop after Floor 1 or 2 never reach the daily (Floor 11) or its
reminder. From their second day they now get a small warm-up puzzle that
uses only the blocks they know and pays a hint, and after the first Floor 1
clear phones ask once whether to send a single reminder tomorrow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HnC1czwUeTw3xbSy3yFKGu
@kevsaj kevsaj self-assigned this Nov 24, 2026
Keeps both sides: the exit survey and early goals from main, and the
warm-up title and come-back nudge from this branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HnC1czwUeTw3xbSy3yFKGu
@kevsaj
kevsaj merged commit a5de499 into main Nov 24, 2026
3 checks passed
@kevsaj
kevsaj deleted the comeback-warmup branch November 24, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants