تخطَّ إلى المحتوى

What it is

هذا المحتوى غير متوفر بلغتك بعد.

Study inside the games you already play. Keep playing your game (Hollow Knight first). At natural moments, such as after a death or at a bench, a short challenge from your own study material appears inside the game. Right answers help you play: Geo, soul, a short shield. A small companion character cheers you on.

تعلّم وأنت تلعب: تبقى في لعبتك المفضلة، وتظهر لك أسئلة ودروس قصيرة من مادتك الدراسية في لحظات طبيعية، والإجابة الصحيحة تساعدك في اللعب. يدعم العربية والإنجليزية.

Status: early prototype (0.2, pre-release). Built in the open; feedback and contributions welcome.

  1. Bring your material: a book (PDF), your notes, or flashcards (Anki, Quizlet, CSV).
  2. AI makes a content pack: facts, short lessons, questions of five types and a voice, each step checked by a second AI (how).
  3. Play: the app runs next to your game and brings the right question at the right moment. Spaced repetition decides what to review. Everything works offline during play (privacy).

✅ tried in real play · 🧪 built and tested automatically, waiting for a real play-test · 🗺️ planned (details)

Area Feature Status
Moments Question after a death, with an in-game reward ✅
At benches (with a short lesson), new areas, before bosses, every N minutes, warm-up 🧪
“Did you know” facts while loading and when talking to characters 🧪
Study breaks: the game pauses until you answer enough 🧪
Questions Multiple choice, true/false ✅
Typed answers, ordering, matching; hints; time limit 🧪
Read aloud (Arabic and English voices) ✅
Answer by voice (experimental: slow, needs the exact words) 🧪
Companion Drops in when a save loads, wears the game’s costume, reacts and talks 🧪
Powers: soul and a short shield for right answers 🧪
Fights beside you after a streak 🗺️
Content AI pipeline: book or notes → lessons, facts, questions, voice ✅
Import Anki, Quizlet, CSV (no AI needed) 🧪
Example packs: Arabic (amazing animals), English (solar system, water cycle) ✅
App Windows installer, auto-update, Arabic / English switch ✅
Questions drawn inside the game (full screen, controller, Arabic text) 🧪
Players, templates, parent PIN, progress report, weekly summary, phone as answer pad 🧪
Accessibility: text size, high contrast, readable font, less motion 🧪
Games Hollow Knight (mod) ✅
A free game anyone can try, more games 🗺️
  1. Download GameLearning-Setup-<version>.exe from Releases and run it. Windows may say “unknown publisher” (not code-signed yet): More info → Run anyway.
  2. The main window opens with an example pack. Pick العربية or English at the top.
  3. Hollow Knight: also download GameLearning-HollowKnight-<version>.zip and follow the mod guide. Use borderless window mode to see the companion.
  4. Your own material: Choose content pack in the main window. Everything else is in the user guide.

Testing for us? Follow the play-test guide and fill in the feedback form.

Needs Node 24+, pnpm 10; for the Hollow Knight mod, the .NET SDK and the Hollow Knight Modding API (e.g. via Lumafly).

Terminal window
pnpm install
pnpm test # unit and end-to-end tests
pnpm app # start the app (it starts the hub)
pnpm sim # no game? a fake one: press d to "die"
pnpm demo # the browser demo (a tiny platformer, no game needed)
pnpm mod:install # build the Hollow Knight mod into the game's Mods folder
pnpm pipeline all -p <pack> # book or notes → content pack (needs a Gemini key in .env)
Hollow Knight mod (C#) ──┐ ┌── App window and overlay (Electron)
Simulator (fake game) ───┼── Game Protocol ── Hub ┤
Other games (later) ─────┘ (WebSocket) └── Phone (answer pad)
Folder What
packages/protocol The wire protocol (zod schemas + JSON Schema). The public contract for integrations.
packages/core The engine, no IO: when to ask, which question (FSRS), grading, rewards.
packages/hub Local WebSocket service that runs the engine.
packages/locales All player-facing text: ar.json, en.json.
packages/content Content pack format: facts, lessons, questions.
apps/desktop Electron app: main window, overlay, companion, settings.
apps/pipeline CLI that turns a book or notes into a content pack.
apps/web-demo Browser demo: a tiny platformer driven by the real engine.
integrations/hollow-knight Hollow Knight Modding API mod.
integrations/simulator A fake game, to develop without owning one.

Start with CONTRIBUTING.md and the good first issues. Build the installer: pnpm --filter @game-learning/desktop dist (releasing).

Code: Apache-2.0. Content packs carry their own license (the examples: CC BY-SA 4.0); copyrighted textbooks stay private (content/private/ is gitignored). Third-party notices: THIRD-PARTY.md.