Discuss Scratch

micro_bitty
Scratcher
100+ posts

New Scratcher tester

Hello once again!
I have made a fairly simple New Scratcher tester.
It works as described below.
It has two variables, cloud (local) and ☁ cloud.
It starts by changing cloud to ☁ cloud, and then changes ☁ cloud by one. (as you may know, New Scratchers cannot change cloud variables.)
Then it tests if cloud is not equal to ☁ cloud.
If they are different, it says you are a Scratcher.
If they are the same, it says you are a New Scratcher.
In Scratch code, this can be represented as:
when green flag clicked
set [cloud v] to (☁ cloud)
change [☁ cloud v] by (1)
if <not <(☁ cloud) = (cloud)>> then
say [You are a Scratcher!]

else
say [You are a New Scratcher!]

Last edited by micro_bitty (Oct. 31, 2019 13:48:11)


Carl Sagan wrote:

To create an apple script in Scratch, you must first invent the Massachusetts Institute of Technology.
Scratcher since 2018 ¦ Professional memer ¦ Check out my projects!
micro_bitty
Scratcher
100+ posts

New Scratcher tester

bump :: motion

Carl Sagan wrote:

To create an apple script in Scratch, you must first invent the Massachusetts Institute of Technology.
Scratcher since 2018 ¦ Professional memer ¦ Check out my projects!

Powered by DjangoBB