Click the green flag, ask the Magic 8 Basketball ANY "yes" or "no" question and get your answer.
ALL this code was from https://code.rcdsb.on.ca/coding-skills/control-structures, but I altered it a little for a school assignment.