Use the arrow keys to move the cat. Please find the spot that makes the fox stop drumming! The incessant noise is driving me up the wall :)
This project demonstrates the use of the boolean operator NOT. This is a conditional command (remember cause and effect?) Think of it as a "NOT gate" that has one condition. To go through the gate and follow the next line of code, the condition must be true. In this project, every time the cat moves, we ask," Is the cat not touching the drum?" If the answer is yes (true), then the fox continues drumming. How do we make the condition false ? Where should the cat go to make the condition false ?