AI Initiative logoAI Initiative
Reading room / Learning games

Word Magnet

Explains vocabulary play, browser-save migration, imported words, validated downloadable packs and offline use. Provides a distinct language-learning entry point.

Educational game and content-system design
This is the retained source text, not a new validation of its claims. Numerical results and comparative claims require the accompanying source review before public reuse.

Read the connected case study or article →

Not stated in document opening · Date not established

Provenance, authorship and editorial notes

Word Magnet

Id

learning-games-word-magnet-readme

Project

learning-games

Source path

learning-games/word-magnet/README.md

Source sha256

6bbb63f47021f76d783eb711572a01bea324bf5f16a1f08757f0fabeb7081511

Repo head

15898ff4893edc5ae8643b60619277462fee7330

Date
Not recorded
Date provenance

No date near opening; git date separate

Git last change

2026-09-05T12:49:54+01:00

Author

Not stated in document opening

Document status

Educational game and content-system design

Summary

Explains vocabulary play, browser-save migration, imported words, validated downloadable packs and offline use. Provides a distinct language-learning entry point.

Topics
  • games
  • education
  • content
Related ids
  • learning-games-matiz-readme
  • learning-games-whetstone-readme
  • learning-games-proof-hunter-readme
Evidence concerns
  • Rule-based vocabulary mechanics and saved progress are not neural learning. No current deployed behavior or educational outcome certified.
Word count

907

Headings
  • Word Magnet
  • Run it
  • Your progress
  • Modes
  • Character, badges, profile
  • Unlocks
  • Adding your own words
  • Content
  • Offline play + online word updates
  • Files
Publication status

Publication or peer-reviewed acceptance not established by discovery

Format

md

Private review scan
Known secret pattern hits

0

Customer or player record sets

None identified in selected narrative/design documents; no gameplay records, account databases or hand datasets copied.

Scope

Pattern scan plus document review; not a formal exhaustive privacy audit.

Word Magnet

A synonyms & antonyms game for ages 11–13. Same meaning attracts, opposite meaning repels.

Run it

open word-magnet/index.html   # simplest
./serve.sh                                                         # local-service

serve.sh also prints your LAN address so a phone or tablet on the same wi-fi can play —
and only the served version can be installed to a home screen. See PACKAGING.md for
iOS/Android.

Your progress

Saved in the browser under one stable key, wordmagnet. Three things follow from that:

any new fields with defaults; old fields are kept. Old wordmagnet.v1/v2 saves are read
and migrated automatically on first load.

three separate browsers as far as storage is concerned. Pick one and stay on it.

code, then paste it into the same box on the other device.

Modes

ModeWhat it is
Daily ChallengeTwelve rounds, seeded by the date — the same twelve for everyone, with a copyable result
ArcadeThree lives, a shrinking clock, combo to ×5, shields earned at 6 and 12 streaks
PracticeNo clock, no lives, mistakes explain themselves — still earns XP
Needs workDrills only the words you've got wrong; a word leaves the list after two right answers
ShooterTargets drift across a field — fire on 2 synonyms and 2 antonyms, leave the 4 decoys alone
Word bankSearch every word and ladder; filter to Needs work / Mastered / My words
My wordsAdd your own words one at a time or paste a whole list

Character, badges, profile

combo meter and your pinned badges under it.

wearable pin — pin up to three and your character wears them, military-style.

tab and after every run.

Unlocks

Three separate routes, so there's always something to chase:

gives the Detective Cap and the Beasts emoji set; Week Streak gives the Vaporwave skin).

stay completely hidden in the Locker until one is redeemed. Codes are stored as salted
hashes, so they aren't readable in the source, and the game never displays them.
Redeem at Locker → Profile → Secret codes.

Adding your own words

Just paste the words. One, or a hundred — commas, spaces or one per line. The game fills in
the meaning, synonyms and antonyms itself; you are never asked to supply them.

It resolves a typed word in three steps:

1. Words already in the game (149 bank + any pack + your own)
2. A built-in dictionary of 388 words, every one hand-written with a meaning, three
synonyms and three antonyms
3. An online dictionary lookup — only when the game is served from a real web address.
In the sandboxed artifact this request is blocked, so steps 1–2 are the whole answer there.

Word endings are understood, so running, kindness, happiest, copied and easier all
find their base word. Anything genuinely unresolvable is reported with a reason and skipped —
no forms to fill in.

On size: ~537 words costs about 220KB, against a 16MB budget. Storage is nowhere near the
limit; the dictionary grows as fast as entries can be written, and the hard part is the
antonyms — public dictionary data is rich in synonyms and almost empty of opposites.

Content

on your "needs work" list are dealt in twice as often

Offline play + online word updates

The full 149-word bank is compiled into index.html, so the game works with no internet.
packs/words.json is an optional versioned add-on: when the game is online and that file's
version is newer than what's saved, the extra words download once, are validated, cached,
and merged into play. If it's missing or unreachable, nothing happens. To push new words
without shipping a new build, edit that file and raise version. Details in PACKAGING.md.

Files

index.html       the whole game, self-contained
manifest.json    PWA manifest (home-screen install)
sw.js            offline cache; HTML network-first so updates always land
icons/           generated PNG icons
packs/words.json optional downloadable word pack (21 extra words, version 1)
serve.sh         local web server on :8777
PACKAGING.md     iOS / Android packaging routes
.build/          build scratch — mkicons.js regenerates the icons

Continue exploring