A 3D action-RPG that teaches code by casting it

CASTBOUND

The only weapon is the cast.

Cross a realm of floating table-islands, cut down NULL's lieutenants, and bring back Princess Primary Key — armed with nothing but real code, cast in your browser. SQL is the first tongue of power; more await.

Play as guest →

What it is

Every sword-swing
is a statement.

CASTBOUND is the coding course that plays like a game — not a game bolted onto a quiz. Beneath the grass of every island lives a real SQLite database. Nothing is simulated: when you DELETE a monster, a row dies.

  • Villagers are rows. Talk to them, then SELECT their secrets.
  • Monsters are rows. Bosses attack on a timer while you type — a correct cast is a critical hit.
  • The rope is a JOIN. The bungee across the void only holds if your keys match.
spellbook.sql

Cast against your realm's goblins — seeded from your hero's name.

How it helps you

Learn like a hero,
not a student.

The Codex — hints that teach

Press “teach me” and the concept animates on your own seeded data: WHERE filters rows out before your eyes, ORDER BY re-sorts them live, JOIN slides matching keys together.

Three hint tiers

Animated lesson → query skeleton with pulsing blanks → full answer. Help that scales to exactly how stuck you are — never a spoiler you didn't ask for.

“What you just learned”

After every win, a job-skill card maps the fantasy task to its real-world query — the one you'd write in an interview or on the job.

Death teaches transactions

Lose all three hearts and the realm casts BEGIN … ROLLBACK. The battle rewinds, nothing commits. You learn transactions by dying.

Physics, not slides

Real gravity and an elastic rope sling you between floating table-islands. Miss your JOIN and the void answers — the chasm is uncrossable on foot.

Un-cheatable by design

Every player's tables are seeded from their hero's name. No walkthrough on earth can answer your realm's questions.

Why nothing like it exists

Everything else is text on a page.

SQL Murder Mystery. SQL Island. SQLBolt. Fine tutorials — all of them reading exercises. CASTBOUND is the first action game whose verbs are real casts.

lesson_04_joins.html
SELECT ... FROM ...

reading about queries

DELETE FROM monsters
WHERE name = 'Grubnak';

casting them — a row actually dies

The Worlds

Six realms. One curriculum.

Strictly cumulative — every clause you win is a weapon you keep. Five realms live today, from your first SELECT to woven WITH queries.

Village of Rows

Treasure chests & thorn gates

SELECT *columnsWHEREAND
Live

Filter Forest

Dark woods, fireflies, patterned prey

ORDER BYLIMITLIKEBETWEENIN
Live

JOIN Mountains

Bungee physics between floating islands

INNER JOINLEFT JOIN … IS NULL
Live

Fairy Glade

Fairy swarms merge when grouped

GROUP BYCOUNT / SUM / AVGHAVING
Live

Echo Caves

Crystal caverns — questions nested in questions

subqueriesCTEs
Live

Corrupted Castle

Fix live corruption — boss HP = corrupted rows

UPDATEDELETEtransactions
Beyond the fog · planned
or play as guest →