Millionaire Game is a simple text-based command-line game written in C++. It simulates the famous "Who Wants to Be a Millionaire" quiz show. The game reads questions from a text file, presents them to the player, and awards money for each correct answer. The game ends if the player answers incorrectly or if all questions are answered.
- Single-player mode: Play the game alone and try to answer as many questions correctly as possible.
- Multiplayer mode for playing the game with multiple players in turns
- Load questions from a text file: Questions are stored in a text file in a specific format and are loaded into the game.
- Handle very large amounts of money
- Clone the repository or download the source code files.
- Make sure you have a C++ compiler installed on your system.
- Compile the source code files using a C++ compiler:
./build.sh
- Ensure you have compiled the program as described in the installation steps.
- Prepare a text file containing questions in the following format:
Question
Option A
Option B
Option C
Option D
Correct Option: Option B
- Run the compiled executable file:
./millionaire_game
- Follow the on-screen prompts to select the game mode and play the game.
- Fetch questions from an API
- Shuffle Questions
- Shuffle Answers
- Countdown timer for each question to increase the challenge.
- Difficulty levels: Allow the player to choose the difficulty level of the questions.
- Scoreboard: Display a scoreboard at the end of the game to show players' rankings.
- Sound effects to enhance the gaming experience.
This project is licensed under the MIT LICENSE - see the LICENSE file for details.