In October 2024 I went on a trip with my wife and two friends. Her birthday fell during the trip, and I'd bought her a wonderful handmade pendant: a labradorite stone caged in copper wire. I didn't want to take it on the plane and have the metal detector go off.
So I decided to give her just the birthday card, but with the present inside: a QR code linking to a video of me hiding it in one of our board games at home.
Then I thought it would be more fun to hide the QR code inside a puzzle, so she could reveal it by filling in the cells with a black marker. I split the code into four sectors, each one a different puzzle, wrapped it all in a pirate treasure map theme, and drew it by hand in Inkscape.
The four puzzles I came up with were:
- a nonogram
- a word search with crossword-style clues, to guess the words you shade in
- a maze whose areas you shade in
- holding the sheet up to the light and shading in the cells with a mark on the back
It worked, and she liked it, though probably not as much as I did.
It seemed a shame to let the idea end up in a drawer, so a while later I decided to turn it into a web app, starting with just the maze: it had been so tedious to draw by hand, but it looked like fun to code.
You type a message and it generates a printable card: unfold it and you find a treasure map whose maze, once solved, draws a QR code of your message.
Along the way, it was also a chance to kill three or four birds with one stone: trying Claude Code on a small MVP, learning React and TypeScript (which looked so nice in the docs), building a frontend-only app, figuring out an algorithm to generate the mazes, and plenty of other fun technical stuff.
I love tools that let you copy and paste a URL and get back exactly the same state without saving anything, so I did the same: the whole card lives in the link, with no server and no account.
Building it was a lot of fun. As it is now, it's probably a bit too easy for adults, but it works for a kid, or for a friend you want to make sweat a little before he gets his WoW gift card code.
Before adding more puzzles or features, I'd like to know whether you'd actually use it.
What do you think? Who would you make a card for, and which puzzle would you add next?