/Magic-8-Ball

Codecademy project - Ask a question about the future and Magic 8 ball simulator predicts the answer.

Primary LanguageC++MIT LicenseMIT

Magic 8 Ball

Overview

Magic 8 Ball is a simple, entertaining C++ console application that simulates the classic toy used for fortune-telling or seeking advice. Upon running, it randomly selects one of 20 predetermined responses, imitating the experience of asking a question and receiving an answer from a Magic 8 Ball.

Features

  • Random Response Generation: Each execution gives one of 20 possible responses, offering a variety of answers similar to those of a physical Magic 8 Ball.
  • Simple and User-Friendly: The application is easy to run and use, providing clear and concise responses.

Requirements

  • C++ Compiler (GCC recommended)
  • Standard C++ library

Installation and Execution

  1. Clone the Repository: Clone or download the repository to your local machine.
  2. Compile the Program:
    • Navigate to the directory containing the Magic8Ball.cpp file.
    • Compile the program using a C++ compiler, e.g., g++ Magic8Ball.cpp -o Magic8Ball.
  3. Run the Program: Execute the compiled program, e.g., ./Magic8Ball.

How to Use

  • Run the program.
  • The Magic 8 Ball will automatically provide a random response.

License

This project is open-source and available under the MIT License.

Acknowledgements

This project was inspired by the traditional Magic 8 Ball toy. Special thanks to everyone who contributed to the development and testing of this application.

Contact

For any queries or suggestions, please contact Joecode22 on Github.