Back to Real Classes
Code Studio · Level 8

Class Builder

One blueprint, a whole team. Add a method to your class, then stamp out two different characters and watch both cards appear.

20-25 min Ages 9-12 Builder JavaScript
Code Editor

Build two characters.

Example code
class Character {
  constructor(name, tool, level) {
    this.name = name;
    this.tool = tool;
    this.level = level;
  }

  showCard() {
    say(this.name + " carries a " + this.tool);
    say("Level " + this.level);
  }
}

let nova = new Character("Nova", "debug wand", 3);
let milo = new Character("Milo", "loop boots", 4);

nova.showCard();
milo.showCard();
🧩 Tap to add code blocks — build the blueprint, then stamp the team
Name characters Nova, Milo, Bolt, Kai, Wizard, Knight, Dragon, Unicorn, Cat, Dog for avatars. wand/debug star shield
Blueprint Factory

Your Team

Run your code to stamp the team from one class…

Waiting for your class…