Menu

Embeddable math games in 7 languages: seeded Dart dots, measured iframes and a one-character noindex bug
📰

Embeddable math games in 7 languages: seeded Dart dots, measured iframes and a one-character noindex bug

DEV Community: frontend·Oliver S.·13 days ago
#kalcjaFp
#devtofrontend#devto#dev#embed#game
Long article (2583 words) — no AI summary yet.
Reading 0:00
15s threshold

We build Dyscalculia.io , a site with a free number-sense screening test and a paid daily practice program. The screening test is made of five small games: count a flash of dots, pick the bigger number, pick the group with more dots, place a number on a 0–100 line, and repeat a sequence of digits.

We wanted teachers and parents to be able to put one of these games on their own blog or class page. That sounds like a ten-minute job: wrap the component in an iframe and you're done. It took longer, and most of the work turned out to be stuff nobody sees: making the same five games safe to show on someone else's page, in seven languages, with no score, no tracking and no scroll bars.

This post covers the parts I'd do again and the parts I got wrong.

The constraint that shaped everything: practice, not a test

The screening test produces a result.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.