Try to steal the banana.You are the dog. If the monkey has the banana, the monkey will try to run away from you. If the monkey has the banana, then try to catch the monkey.
Thanks to my coding instructor!!!! Tell me in the comments to tell me what to add!