Magic 8-Ball


The Magic 8-Ball is a popular toy developed in the 1950s for fortune-telling or advice seeking.

In this project, you’ll hone your conditional skills by creating a program that can answer any “Yes” or “No” question with a different fortune each time.

Magic 8-Ball, should I do this project?

We’ll be using the following 9 possible answers inside our Magic 8-Ball:

Positive 👍:

  • Yes - definitely
  • It is decidedly so
  • Without a doubt

Neutral 🤔:

  • Reply hazy, try again
  • Ask again later
  • Better not tell you now

Negative 👎:

  • My sources say no
  • Outlook not so good
  • Very doubtful

Let’s get to fortune telling!