🌳
The Moon Base Mystery Β· Part 2 Code Studio Β· Ages 9–12

Decision Tree Challenge

In Part 1 you rebuilt The Moon Base Mystery with code. Now meet the same story as a decision tree: each scene is a branch point, and every choice grows into a new scene below it. Read each code chunk and drag it into the scene where it belongs. (On a phone, tap a chunk, then tap a slot.) Fill the whole tree, then play it!

The Moon Base, as a tree

The top scene is filled in for you. Use the choice labels on each branch as clues for what happens next.

    🧱 Code chunks Drag a chunk into a scene slot β€” or tap a chunk, then tap a slot.

    Tip: the show() text describes what the player sees in that scene. Match it to how you got there.