Welcome to CodeCraft
Transmute ideas into code. Learn the ancient art, break things, fix them, and make the computer do your bidding. Politely.
Meet the heroes
Five legends guard the secrets of computing. Each one is a big idea wearing a costume. Learn their ways and the idea is yours.
Byte
Pixel dragon
Big idea: Binary
Has guarded the same hoard for centuries, counting it eight bits at a time. Never loses track. Never rounds up.
Dare: work out why 255 is the biggest number one byte can hold.
Loopa
Looping phoenix
Big idea: Loops
Flies the same circuit again and again, and lands only when the condition says stop. Forget the condition and Loopa flies forever.
Quest: write a loop that knows exactly when to quit.
Sir Boolean
True-or-false knight
Big idea: Selection
Answers every question with True or False. No maybes, no shrugs, no “it depends”.
Think you can outsmart Sir Boolean? Use if and else to send the quest down the right path.
Glitch
Bug-hunting gremlin
Big idea: Debugging
Master of the ancient art of debugging: read the error twice, find the line, change one thing at a time. Every bug is a lesson in disguise.
Dare: find the bug before Glitch does.
Owlgorithm
Owl sage
Big idea: Algorithms
Plans every step before the first move. “Well begun is half done,” the owl likes to say, quoting Aristotle. Loudly.
Quest: write instructions for making toast so precise that a robot could follow them.
What you’ll make
Every great inventor began with a broken prototype. Lessons run real code in your browser, and your teacher chooses which kind.
Python
The apprentice’s first spellbook. Programs that make decisions, repeat steps and report back.
for lap in range(3): print("Lap", lap + 1) print("Finished!")OutputLap 1 Lap 2 Lap 3 Finished! Python with data
Turn a heap of numbers into wisdom: load a table, find the average and draw a chart with pandas and matplotlib.
import pandas as pd goals = pd.Series([3, 1, 4, 2]) print(goals.mean()) goals.plot(kind="bar")Output2.5 JavaScript
Write JavaScript and see what it prints straight away. Quick feedback, fewer tears.
const xp = 120; let level = Math.floor(xp / 50); console.log(`Level ${level}`);OutputLevel 2
Shows a coding tip, fact or quote below the badges. Press it again for another. Press Escape to hide it.
How it works
Wisdom begins with doing. These are the rules of the guild.
Learn by building
Lessons are built around code you write and run yourself, right in the browser. Reading about swimming never got anyone wet.
Classroom quests
Hands-on coding challenges you tackle together in class. Your teacher sets the quest; the glory is shared.
Earn XP, unlock surprises
When your school has rewards switched on, finished work earns XP, and XP unlocks surprises. The sages never say what comes next.
Your own school login
Sign in with the school username and password your teacher gives you. Guard it like Byte guards gold.
Sign out on shared computers
Sign out when you finish, so the next person cannot open your account. A wise wizard always closes the portal.
Ready to begin your quest?
Already have a login from school? Step through the portal. Then answer the real question: can you build something that surprises your teacher?
No account access capability is currently published in the service catalogue.