The Ops Community ⚙️

Chen Yifeng
Chen Yifeng

Posted on

Building a Zero-Cookie, COPPA-Minded Classroom Math App: Client-Side Function Machines and Printable PDFs

When you build a web app meant for elementary school classrooms—especially 3rd, 4th, and 5th graders—privacy and operational simplicity are not nice-to-have checkboxes. They shape every architectural decision from day one.

Schools block third-party trackers, teachers do not have time to reset 28 student passwords during a 10-minute warm-up, and collecting personal data from children under 13 triggers strict compliance requirements. When we designed Input Output Game, we chose a strict zero-account, zero-cookie, ephemeral-state architecture.

1. Ephemeral In-Tab State Instead of Student Accounts

Student practice answers never touch a database or even localStorage. Everything in a 10-puzzle round—the active function table, the child's attempts, hint state, and solved counter—lives strictly inside browser tab memory. Close or reload the tab, and the state disappears completely.

For operational visibility (knowing whether puzzles load properly or whether a worksheet download failed), we avoid cookies and IP logging entirely:

  • Generate a random in-memory visit ID per page load.
  • Record only coarse, non-identifying signals: page opened, game started, right/wrong event (never the typed number itself), round completed, and worksheet downloaded.
  • Store zero cookies, zero device fingerprints, and zero fields that could ever ask a child for a name, email, photo, or location.

2. One Deterministic Rule Generator for Both Live Play and Print PDFs

Elementary input-output tables look simple until you try generating thousands of them automatically without frustrating a 9-year-old. A good generator needs hard mathematical invariants:

  1. Whole-number closure: Every input, intermediate value, and output must stay a clean whole number—no accidental fractions in division rules and no negative results in subtraction rules.
  2. Bounded cognitive load: Keep numbers at 100 or below for 3rd and 4th grade (matching Common Core 3.OA.D.9 and 4.OA.C.5), while scaling up past 100 with larger multipliers for 5th grade (5.OA.B.3).
  3. Unambiguous rules: Every generated table must provide enough rows to uniquely determine a one-step (+5, ×4) or two-step (×3 + 1) rule so students cannot find an alternate rule that also fits the clues.

The same checked generator powers both the live online rounds (missing outputs, working backwards to missing inputs, and rule identification) and six downloadable 2-page US Letter PDF worksheets—six function tables on page 1, answer key on page 2—so classroom paper practice matches the digital drills exactly.

3. Designing for Tablets, Chromebooks, and Classroom Displays

Hardware in K–5 classrooms is a mix of iPads, budget Chromebooks, and overhead projectors. Three small UI choices mattered more than any framework optimization:

  • Built-in on-screen numeric keypad: Prevents mobile virtual keyboards from covering the function table and keeps input consistent on touchscreens.
  • Full screen display mode: Expands the table and keypad cleanly for whole-class projection without browser chrome distractions.
  • Interactive inquiry mode: Alongside fixed tables, the interactive Function Machine mode lets students type their own test inputs from 0 to 100, watch outputs populate a live table, and crack the hidden rule in 5-machine rounds—turning drill practice into a mini science experiment.

Takeaway

Stripping out authentication, cookies, and server-side user profiles is often the fastest path to reliability in EdTech. When the math engine runs deterministically in the browser and nothing personal is ever collected, teachers can drop a URL onto a smartboard and start teaching in five seconds.

Top comments (0)