Product design · AI-directed development · 2026

Mates con Papá: a math practice app I built for my son

I designed the app and directed the build with Claude Code. My son’s practice history led me to cut each round from 25 exercises to 10, then to 5.

745

exercises answered by my son, in 52 rounds

25 → 5

exercises per round, after reading his usage data

71

automated tests passing

The problem

Ulises is in 5th grade. I wanted him to practice math at home, and I wanted to follow it as his dad: not just “he did his homework”, but what he gets wrong and why. That meant needs that pull in different directions:

  • For him, practice had to feel like play, and be short. A long, grey worksheet on a screen is still a worksheet.
  • For me, the data had to be precise and honest: which operation, which level, how long, and what he keeps getting wrong.
  • A mistake should not just disappear. If he fails an exercise, it should come back until he gets it right.

My role, and what AI did

Every idea is mine; AI wrote the code while I decided what to build, tested it and corrected it. Nobody else worked on it.

Me

The product idea, the experience for the child and the parent, the learning rules, and testing with the real user: my son

Claude Code

Wrote the code under my direction: the app, the database and the tests

58 commits

From July 5 to October 4, 2026. Ulises practiced from July 6 to September 21

Built for the iPad

A web app he opens from the home screen, with its own number pad

  • Claude Code
  • Next.js
  • TypeScript
  • Supabase
  • Vercel

Two faces: a playful app for him, an honest panel for me

Ulises logs in with a simple username and a 4-digit PIN; I log in with my email. Each of us lands somewhere different. His home screen greets him by name, in big, colourful letters, with one obvious button. Mine opens a dashboard.

Ulises's home screen: his name in large colourful letters and one big button that says ¡A practicar!, with smaller buttons for training and achievements
The student side: one main action, nothing to configure.

From 25 to 10 to 5 exercises per round

The first version served rounds of 25 exercises. The round history made the problem obvious.

What I assumed

25 exercises was a reasonable practice session

What the history said

Each round took him between 24 and 39 minutes

In August, I cut the rounds to 10 exercises, which took him 13 to 19 minutes. In September, I designed a five-exercise round with one problem per operation. I still need to measure how that format affects practice.

  • One of each: a sum, a subtraction, a multiplication, a division and a fraction. Every round touches everything, and none repeats.
  • Three levels in every round, weighted toward where he is.
  • Shuffled separately, so today’s division may be the hard one and tomorrow’s the easy one.
An exercise screen: a division, 8652 ÷ 28, with a large answer box, an on-screen number pad and a progress bar showing 1 of 5
A five-exercise round. The number pad is built for the iPad, so he never needs the system keyboard.

Help that walks with him, without giving the answer

The “?” button used to show three loose tips. He read them, closed them and still didn’t know where to start.

So the help became a guide that advances one step at a time. Each step uses his numbers, shows how to lay the operation out on paper, and offers an example solved with other numbers. Every guide ends with a check step, and a test makes sure it never writes the result.

Step 1 of 7 of the division guide, explaining 8652 ÷ 28 as sharing 8652 into 28 equal parts
Step 1: what the operation means, in a child’s words, with his numbers.
Step 2 of 7 of the division guide, showing how to place 8652 and 28 on paper for long division
Step 2: how to lay it out on paper, the way he learns it at school.

Mistakes come back

Every exercise he gets wrong goes into a queue, and a correction round serves it again until he gets it right; only then does it leave. When the queue grew large it served everything at once, so now it comes in batches of five, oldest first. In the history, 33 of the 52 rounds are correction rounds.

Fractions accept any equivalent answer: he once answered 156/144 for a sum whose simplest form is 13/12, and the app marked it right. He had done the math correctly; simplifying is a separate skill.

Making it feel alive

To make practice something he wants to open, the app sounds:

  • His name is a xylophone. Each letter is a key; sliding a finger across it plays a melody.
  • Streaks climb. Every correct answer in a row raises the sound one note.
  • Background music in four moods, composed on the fly so it never repeats exactly, with no audio files to download. It starts muted and remembers the choice.
The achievements screen: best streak of 17 correct answers in a row and accuracy bars by operation, from 74% in sums to 50% in fractions
His achievements: the streak of 17 is the number he likes to beat.

A parent panel that doesn’t lie

The panel is where I decide and where I check. I set up a custom training, choosing which operations and how many exercises he gets, and I see totals, accuracy, time and his strongest and weakest operation.

The parent panel: a custom training form with the eight operation types, above a summary of 745 exercises, 58.1% accuracy and 57 seconds per exercise
I choose what he practices; the summary tells me how it went.
A table by operation type, from fraction subtraction at 34.7%, marked as the area to work on, to fraction multiplication at 92.6%
Not “58%”, but which operation: fraction subtraction is where he struggles most.

Checking the panel against the data, I found it was telling small lies, and I fixed them:

  • Times were six hours off, because the server runs in UTC: rounds after 6 p.m. landed on the next day. Everything now runs on Mexico City time.
  • A forgotten iPad inflated the time. Exercises left open over five minutes no longer count: the total time practiced went from 861 to 527 minutes, and the longest round from 1 h 59 min to 40 min.
Daily activity charts: rounds per day, and minutes per day against accuracy
Daily activity, with pauses longer than five minutes left out.
The detail of one round: ten exercises with the operation, his answer, the correct answer, whether it was right and the time taken
Any round opens exercise by exercise: what he answered, what was right, and how long it took.

A child’s account, protected

His password is a 4-digit PIN: only 10,000 combinations. Five failed attempts in a row lock that account for five minutes. If the lock itself fails, login still works and the error is logged: locking my son out of his own app would be worse than the risk it prevents.

The result

745 exercises

As his father, I saw his attitude toward math practice and his skill get better

52 rounds from July 6 to September 21, 2026, with 58.1% accuracy overall. Accuracy in training rounds rose from 40–68% in July to 70–100% in mid-August, but the round format changed at the same time, and there is one student and no control group: I don’t read it as proof that the app caused the improvement. The five-exercise rounds, the step-by-step help and the sound arrived after most of his practice, so they have no usage data yet.

What I learned

The data told me something I didn’t see. I thought 25 exercises was a reasonable round; the history said 30 minutes. A short round that happens beats a long one that gets abandoned.

  • Help is not information. A guide that waits for each step does what a list of tips can’t.
  • A parent panel earns trust in the details. A wrong time zone or a forgotten iPad doesn’t break the app, but it makes the numbers lie.
  • Next: measure the five-exercise rounds and the new help with his coming weeks of use, test the sound on the iPad, and focus practice on fraction subtraction.

See other projects

Loading projects…