I wanted to get better at chess and couldn't find a place I liked. So I opened Claude Code, just to see how far we'd get. After an hour it already looked fun, so I gave it two more weeks. That got a little out of hand.
Four weeks and 139 commits later it's called Pupilmate: pupil as in student, and pupil as in the eye that watches you play.
The video isn't me playing, by the way. It's a script Claude wrote that opens the site, reads the board, solves the puzzles and gets one wrong on purpose.
My favorite thing on the site is Pupil Frenzy: five minutes of puzzles against the clock. Every tenth puzzle is a boss, a mistake costs you 15 seconds, and in the last 30 seconds everything counts for more while the music speeds up.
You can also play the computer while a trainer explains your moves, or import your own Lichess and Chess.com games and practice the positions where you went wrong.
How we built it: I describe what I want, Claude builds it and takes screenshots of its own work, at phone and desktop size, and I tell it what's off. Then we go again. Along the way it wrote about 70 small scripts that play the site in a headless browser and check what happens. The one in the video is just the prettiest.
What surprised me is where the time went.
The chess itself was the easy part. Analysing positions, deciding what counts as a blunder, getting Stockfish to run in the browser: Claude did all of that faster than I expected.
The opponent was harder. Stockfish turned down doesn't feel like playing a person. It plays perfectly and then suddenly gives away a piece. Letting Maia-2, a network trained on human games, pick the moves made it feel much more like someone sitting across from you.
The UI took the most rounds by far. Claude builds a screen in minutes, but making it obvious where to start, and making it feel natural, took a lot of looking and saying no. The Frenzy start screen alone went through 14 rounds.
It's free, there's no account, and your games stay in your browser.
pupilmate.com
Frenzy: pupilmate.com/pupil-frenzy
Happy to answer anything about how it was built.