Click on the green flag to watch the snowflake bounce. Listen for some unexpected sounds! Press the "s" key to stop the action.
This project demonstrates Boolean logic which are comparison operations. The results (answer) will only be true or false. The scripts page has specific details as well. Here we will examine 2 different comparisons: the AND and the OR. For each of these operators the conditions are examined to see if it is true or false. The AND operator has 2 conditions. When using the AND operator, the effect (a change) will occur only if both conditions are true. If the snowflake touches the bear AND the party hat, the rooster will crow! The OR operator also has 2 conditions. When using the OR operator only one condition needs to be true for the effect (change) to occur. If the snowflake touches either the penguin OR the snow creature, the cricket will chirp. By the way, where do you think the cricket and the rooster are hiding?? :)