Digital Citizenship
An offline, gamified mobile app that teaches digital and European citizenship in 13 languages — no account, no server, no data collected.

Purpose
Teach rights, cyber-security, data protection and democracy through quizzes, missions and mini-games that work without a network and without sign-up.
The problem
The idea started as a single HTML prototype with global mutable state, hard-coded and duplicated content, translations only in the interface and no tests. A learning product for young people also should not need accounts or collect data.
What I built
- A framework-independent domain core: experience points and levels, data-driven badges and missions, six game engines and a seeded random generator, with no React, network or clock calls inside it.
- A content package validated by a schema, with an i18n coverage report that CI enforces so no language falls behind.
- 13 interface languages, with the learning screens showing the target-language phrase above the interface-language translation.
- An Expo Router app with avatar choice, a dashboard, learning, missions, passport, badges and six mini-games, using haptics and a daily local reminder.
- A fix for a real defect of the prototype: answers were checked by position after shuffling; options now carry a stable id and the check compares ids, with a regression test.
- A local-first sync contract with conflict resolution, built and tested but deliberately not wired in while the app stays offline.
- CI with lint, type check, tests with coverage thresholds, an i18n check and a dependency audit, plus the store listing, assets and privacy text.
Features
- 13 interface and content languages; the phone language is picked on first launch.
- Onboarding with a citizenship choice and an avatar, then a dashboard.
- Tabs for dashboard, learning, games, missions, passport and badges.
- A quiz screen and six mini-games: passport, wheel, rights, choices, green and escape.
- Experience points, levels, and badges and missions driven by data rules.
- A passport with country stamps and country content, with phrases shown in the target language above the interface language.
- Games that resume after an interruption.
- Local daily-reminder notifications that need no server.
- Settings with a system, light or dark theme.
Stack
- React
- TypeScript
- Expo / React Native
- GitHub Actions
AI in this project
In the product
The app uses no AI: it makes no network requests, collects no data and calls no model. A project rule forbids adding any network call or third-party SDK.
In how it was built
- 66 of 91 commits carry a Claude co-author trailer, from Opus, Sonnet and Fable models.
- Translations were drafted with AI and then audited by separate translator agents; one pass fixed 61 issues, such as a wrong French register and a Macedonian word that does not exist. A native-speaker review is still advisable.
- The rules the assistant works under live in the project rule file (answers checked by stable id, seeded randomness, schema-validated content, complete translations, no data collection) and are enforced by gates: a dependency audit with a reviewed allow-list, static analysis, an i18n coverage check and a coverage threshold.
Key flows
Steps
A first session
Step 1 of 5: Start
The app opens directly; no age gate, account or consent screen is needed because nothing is collected.
Step 2 of 5: Choose an avatar
The avatar is stored on the device and leads to the dashboard.
Step 3 of 5: Learn and play
Quiz questions and six mini-games shuffle their options visually and check answers by stable id.
Step 4 of 5: Progress
Experience points, levels, badges, missions and passport stamps update from data rules.
Step 5 of 5: Switch language
Settings switch the interface among 13 languages while content stays in step.
Limitations
- Version 0.2: internal Android builds exist; a public store release is not confirmed.
- The sync package is unused code awaiting a decision, and some documents still describe a removed web and server scope.
- There are no mobile end-to-end tests, and no real-device test is documented.
- Translations were audited with AI assistance; native review is still advisable.
Want something like this?
Tell me about your project — I reply within two working days.
Start a project