encoreTHE CLOCKWORK THEATER

EST. 1924
MECHANICAL ARTS

    Try it, then change it

    Your show draft is saved separately. Practice does not clear the act or use a tip.

    THE LITTLE ORPHEUMREADY FOR REHEARSAL
    · ˚   ✧   ·   ˚   ✦   ·
    L
    C
    R
    PROP
    CRATE
    ●   ●   ●   ●   ●   ●   ●   ●   ●   ●   ●
    STAGE TIME00.0s
    MISSED CUES0
    ENERGY0
    SPECTACLE0 steps
    TONIGHT'S OBJECTIVE

    Where to start

      Read the guide, then write your first stage command.
      CUE SHEET0 active
      Stage sensors
      director.js
      JAVASCRIPT
      All changes saved
      Autocomplete: type a command or press Ctrl + Space · ↑ ↓ choose · Tab / Enter accept · Esc dismiss
      COMMANDS FOR THIS ACT

      Use await before stage actions. The sensor, on and print helpers return immediately.

      All JavaScript syntax is available in both modes. Equipment follows the playbill. Expert opens every trial; clears still restore the theater.

      WELCOME TO THE LITTLE ORPHEUM

      You write the show.

      Restore a mechanical theater by writing small JavaScript programs. Your code directs the performers, curtains, lights and scenery.

      1. Learn one idea first. Each act has a coding lesson with a small example, syntax explanations and a change to try. Start with Try example in editor.
      2. Run and watch. Press Run show to see your instructions move the stage. The cue sheet shows what happened and when. Pause or Step to look closer.
      3. Build your own act. Choose Restore my show after practice. Read tonight’s objective and add one instruction at a time. Command cards and autocomplete help you write it.
      4. Experiment freely. Every run starts with a fresh stage. Reset stage keeps your code and discoveries. Errors explain what to fix before you try again.
      5. Get help when you need it. Reveal three tips one at a time, then choose whether to view a solution. Complete an act to unlock the next discovery.

      await curtain("open");
      This calls the curtain function with the input "open". await waits for the machinery to finish before the next instruction.

      Your code and progress save automatically in this browser. Reopen this guide anytime with How to play.