AlgoQuest
0 XP

Learn to code by solving puzzles.

Eight interactive coding challenges. Write code to guide your hero across the dungeon, manipulate stacks, and master algorithms with live visual feedback.

Start Quest: Level 1 (The First Step)Free • No sign-up required • Saves progress automatically
Your Progress0 of 8 Completed (0%)
0 XP
1d Streak

Curriculum Challenges

8 Progressive Puzzles
Level 1•VariablesNEXT UP

The First Step

Set the variable steps to 3 to walk the hero forward to the treasure chest.

+100 XP
Play
Level 2•Strings

The Gatekeeper

Set the variable password to "open" to lower the iron gate and walk 4 paces to the goal.

+120 XP
Locked
Level 3•Conditionals

The Danger Tile

Inspect the tile ahead. If it is "lava", use jump() to clear the trap; otherwise use step().

+150 XP
Locked
Level 4•While Loops

March Forward

Advance across the corridor using a while loop until the hero reaches the goal.

+180 XP
Locked
Level 5•For Loops

Gem Collector

Traverse the 5-tile bridge, collecting all gems along the way.

+200 XP
Locked
Level 6•Array Indexing

The Inventory Bag

Extract the potion from index 0 and the key from index 2 to unlock the sealed gate at (3, 0).

+220 XP
Locked
Level 7•Stacks

The Stone Pedestal

Push 3 stones onto the pedestal stack, then pop the top stone to reveal the hidden key.

+250 XP
Locked
Level 8•Two Pointers

The Dual Bridges

Advance two pointers from opposite ends of the bridge until they meet at the central keystone (3, 0).

+300 XP
Locked

5 Modern Languages

Code in Python, JavaScript, TypeScript, Ruby, or Lua with instant client-side execution.

Visual 2D Feedback

Watch character steps, stack pillars, and dual-pointer arrows animate directly on screen.

Progressive Hints

Gentle nudges, logic clues, and complete code snippets are available whenever you need guidance.