For teachers
A free puzzle on a real QR code. Students damage the code one area at a time and find out how far it can go before it stops scanning.
What students see
- Data can survive damage, up to a limit: a QR code carries spare data, so it keeps scanning after parts of it are covered. Students find the exact point where it stops.
- Damage is counted in bytes: the brick map shows how the code groups its squares, 8 to a byte. A small mark that touches three bricks costs more than a big one inside a single brick, so where the damage lands matters as much as how much there is.
- Working within a budget: the most moves without breaking the code. Each puzzle's best possible result is printed on the page, so students have a real target.
A 15-minute lesson
- Print today's puzzle as a worksheet. It fits on one page, and the brick map is printed beside the code.
- In pairs or small groups, one student colors in a light area with a black marker. Another scans the code with a phone camera.
- If the phone still shows a link to obsqrity.com, the move was safe. Keep going until it stops scanning.
- Compare scores with the best possible result printed on the page.
- Talk it over: why did some moves cost nothing, and some cost several bricks at once?
Going further
The math behind the spare data is Reed-Solomon coding (1960), the same family of codes that protects CDs and DVDs and brought back Voyager 2's pictures of Uranus and Neptune. How it works is a good follow-up for older students.
A QR code is one small, visible case of something computers do all the time: storing data so it survives damage. Drives, networks, and storage clusters face the same trade-off, using related ideas such as parity, replication, and erasure coding, and Reed-Solomon itself is used in some of them. A good first question for students: how much extra data is enough?
From there: what does that redundancy cost in computing time and storage? Finding the best result within a fixed budget, as students do on the worksheet, belongs to a family of optimization problems that quickly gets hard.
Good to know
- One phone per group is enough. There's no app to install, no sign-up, and no ads, and the codes only ever link to obsqrity.com.
- Pick a size for your class: the daily puzzle is 21 by 21 squares, Hard is 25 by 25, and Nightmare is 29 by 29. On the print page, choose the size you want.
- Every past puzzle can be printed too, so you can print a set ahead of class.
- Works for middle school through intro college computer science.
- It's free to print and copy for classroom and personal use.
Tell me how it went
I made obsQRity with a pen and a newspaper ad, and I'd love to hear how it works with real students: hello@obsqrity.com. More answers are in the FAQ.
