The secret clubhouse.
Combine boolean questions with and, or, and not. “And” needs both answers to be true. “Or” needs at least one. “Not” flips true to false, or false to true.
Your mission: and, or & not
Say Come in! only if has_ticket AND has_permission are true. Otherwise say Not yet. We’ll try all four combinations.
Both true: Come in!Only ticket: Not yet.Only permission: Not yet.Neither: Not yet.Build it: choose a toolbox category, drag blocks onto the canvas, then snap instructions inside when I press Run. Drop values into matching sockets. Edit words or numbers directly on their blocks.
Waking up the blocks…
Projects are saved on this device when storage is available.
Inputs Try different values
Inputs give your program information. An “input” block reads a value by its exact name. Task checks use their own values.
From blocks to Python A bridge to your next adventure
Generate real Python from these blocks. The helper functions keep Bit’s messages familiar. Python has its own type rules; the Python trail explains them.
A little hint, please
Change the or block to and. In Inputs, try one true and one false before checking the task.
How do I use these blocks?
Pick a category on the left to see its blocks. Drag a block onto the canvas. Instructions connect in a stack inside “when I press Run”. Rounded value blocks go into sockets. Change a field by selecting the word, number, or dropdown on the block.
Use the canvas zoom controls or Fit blocks if a stack goes out of view. Undo can bring back an accidental change. Disconnected blocks do not run. Your canvas saves here on this device.
An independent Kids Code playground, built with Blockly. No accounts or uploads. Projects stay in this browser unless you download them.