Dunder Quest Play
Pixel art of a small squire with coconut halves on a cliff, looking out over a misty valley toward a shining castle

Dunder Quest

A platformer where every stage teaches you a piece of Python.

Guide a squire across six stages to the Grail. Read the lore scrolls on the way, and use real code to open the path through each stage. Then duel the guardian at the exit, from the Knight Who Says Mi to the Bridgekeeper: jump into the block with the right answer while you dodge his spells.

Keyboard, gamepad or touch. On a phone, turn it sideways and use the on-screen buttons.

The trailer

One minute on the trail

Trailer thumbnail: Tom the Enchanter's duel on print(list(range(4))), under the Dunder Quest wordmark Play the Dunder Quest trailer

More on the channel: youtube.com/@dunderquest.

The trail

Six stages, six lessons

Each stop on the map is a Python topic, and they build on each other: lists first, comprehensions last. Pick a stage to read its lesson and practice its trial here on the site.

  1. Shrubbery WoodLists & Indexing
  2. The Cheese ShoppeDictionaries & Hashing
  3. Cave of the BunnyLoops & range
  4. Ministry of WalksBooleans & Conditions
  5. Bridge of PerilFunctions & return
  6. Castle AarghComprehensions

Inside a stage

Learn it, use it, prove it

  1. A lore scroll card titled Counting from Zero, showing a short list example

    Read the scrolls

    Lore scrolls lie along the route. Touch one and it opens a card with a few lines of code and the idea behind them. Every scroll you read goes into your Spellbook.

  2. A plank bridge built by calling span(5) across the Bridge of Peril chasm

    Code the way forward

    The only way through each stage is a gadget that runs real Python. You slice planks into a bridge, store keys in hash buckets, load a loop into a lift, or call the function that builds a bridge the exact length of the gap. Only the right code gets you across.

  3. The Knight Who Says Mi's duel: his question across the top of the screen and four lettered answer blocks over the arena floor

    Duel the guardian

    A guardian holds every exit. His question shows at the top of the screen, and you answer by jumping into the lettered block while you dodge his spells. Each right answer breaks a ward. A wrong one gets you zapped and a new question. He'll give you a hint if you ask.

28 lore scrolls · 63 trial questions · every snippet checked against real Python

The second game

Flatmates.js teaches JavaScript

Flatmates.js: two flatmates by their front door on a Croydon tower block landing at dusk Two flatmates. Two points of view. One of them runs your JavaScript. Swap between Clive and Jazz across six stops in Croydon, from calling a method to awaiting two promises, and script the one you aren't playing. Meet the flatmates →

The third game

Curb Your Oxidation teaches Rust

Curb Your Oxidation: a black title card, the name in yellow serif, over a palm-lined Westside street at sunset The borrow checker is the unwritten social contract. Ten petty disputes on the Westside, from a second latte to a houseguest who won't leave, each settled by a Rust program, from let mut to lifetimes. Meet Barry →

Download

Play without a browser

The desktop builds are the same game, run natively instead of in WebAssembly. They start faster, have no audio unlock step, and keep your save in a normal file instead of browser storage.

CI rebuilds these every time the game changes on main. SHA-256 checksums are on the release page.