All-Knowing Bob
Programs Used: P5.js, Github, and Atom
The prompt I received was where does randomizing apply in real life. My immediate though was a magic 8-ball. You ask a magic 8-ball a question, shake it, and it will give you an answer. This idea inspired me to make my own "magic 8-ball", but with a little bit of a humorous twist. So, I coded the All-knowing Bob, or simply Bob. What you are seeing is a screenshot of the program that I made. Click the the link above, if you want to ask him a yes or no question. With a combination of arrays filled with funny answer, if/then statements, an input/button, and an input and button, we have a snarky fortune teller. Bob is a floating head with powerful clairvoyant abilities. He can answer any yes or no questions. But despite all the power he has, he's tired and would rather be anywhere but here. So, he might give you a sarcastic answer.
© Rosa "Sai" Salangsang