Get ready to become a coding magician! ๐ช We'll learn:
Think of it like shouting "SURPRISE!" ๐
โข It sends a message to everyone! ๐ฃ โข All actors can hear it! ๐ โข Like a magic spell for all! โจ
๐ก Did You Know? ๐ค
Real magicians use secret signals too! Just like our broadcast blocks! ๐ฉ
This block is like having super ears! ๐ฆธโโ๏ธ
โข It waits for a message ๐จ โข Then does something cool! ๐ฏ โข Like waiting for "Abracadabra!" ๐ช
Magic Examples: โจ
Want to talk to your audience? ๐ค
โข Ask them questions! โ โข Wait for their answer! โฐ โข Use their answer in magic! ๐ฉ
The answer appears here! ๐
๐ก Did You Know? ๐ค
Famous magicians always ask: "Pick a card!" That's like our ask block! ๐
Keep doing magic until... ๐ช
โข Like practicing tricks! ๐ฏ โข Until the show ends! ๐ญ โข Or until someone claps! ๐
Step One: Build Your Stage ๐ญ
Step 2: Plan Your Tricks ๐ฏ
๐ก Did You Know? ๐ค
The word "Abracadabra" is super old! Magicians have used it for 2000 years! ๐ช
For the Magician: ๐งโโ๏ธ
when actor clicked
say "Abracadabra!" for 2 secs
broadcast "disappear"
For the Rabbit: ๐ฐ
when I receive "disappear"
hide
wait 2 secs
show
Wow! You made magic happen! ๐
Step One: Ask their name! ๐ Step 2: Use the answer! ๐ฌ Step 3: Make it special! โญ
Example: "Hello [their name]! Ready for magic?" ๐ช
Use repeat until to:
One. Card Tricks ๐
2. Flying Magic ๐ฆ
3. Mind Reading ๐ฎ
๐ก Did You Know? ๐ค
Harry Houdini was a famous magician! He could escape from anything! ๐
Step One: Add sparkle sounds! โจ๐ Step 2: Use bright colors! ๐ Step 3: Make things move smoothly! ๐ Step 4: Time it just right! โฐ
Name your messages clearly! ๐
Test your show! ๐งช
Add surprises! ๐
You're now a coding magician! ๐งโโ๏ธโจ
You learned:
Next time: We'll make even BIGGER magic! ๐
Keep practicing your magic spells! ๐ช You're doing FANTASTIC! ๐
๐ก Remember! ๐ก
The best magicians practice every day! Keep coding and creating amazing shows! ๐ช