Click on the flag. Then use the arrow keys to move the little pony. Watch what happens when he touches the unicorn, the wizard girl or the hat. Check out the code to see how the AND and the OR commands are used. Have fun!
This project demonstrates Boolean logic, in particular the use of the operators AND, and OR. Think of boolean logic as "gates" that have conditions which need to be "true" in order to enable a change to occur. Here, the AND "gate" has 2 conditions and both have to be true for the effect to happen. The OR "gate" has two conditions as well but it requires just one of these conditions to be true for the effect to happen.