Inspiration
The inspiration behind our project stems from the popular television game show "Who Wants to Be a Millionaire." I was inspired by the excitement and engagement that the show brings to its audience and wanted to recreate that experience in a digital format.
What it does
"Millionaire Game" is a text-based command-line game that challenges players with a series of multiple-choice questions. Players earn money for each correct answer, with the ultimate goal of winning the virtual million-dollar prize. The game offers both single-player and multiplayer modes, allowing users to compete against each other for the highest score.
How it was built
I built the "Millionaire Game" using C++ programming language with the assistance of Copilot and ChatGPT. The game utilizes file I/O to load questions from a text file and displays them to the user. With the assistance of Copilot, I wrote functions to handle user input, fetch questions, validate answers, and calculate the players' scores calculated as money earned. Additionally, I implemented multiplayer functionality to allow multiple players to compete in turns,
Challenges
One of the main challenges I encountered was parsing and processing the questions from the text file in the correct format. I had to ensure that the questions, options, and correct answers were loaded accurately to provide a seamless gaming experience. Additionally, implementing the multiplayer functionality required careful synchronization of player turns and score tracking.
Accomplishments that I'm proud of
I am proud to have successfully developed a fully functional text-based game that captures the essence of the "Who Wants to Be a Millionaire" experience in a programming language I've nver worked with. Despite facing challenges along the way, I was able to troubleshoot them with the help of Copilot. I am proud of recreating a popular game for players to enjoy.
What I learned
I adopted valuable skills for C++ like I/O handling randomization techniques I learned how to effectively manage user input, validate responses, and handle errors gracefully. I also experienced benefits of documentation before coding.
What's next for Millionaire Game
In the future, I plan to enhance the "Millionaire Game" by adding more features like incorporating multimedia elements such as sound effects and visuals, dynamic fetching questions from an API, shuffling questions and answers. We also aim to optimize the game for various platforms and explore options for online multiplayer capabilities to reach a wider audience. Overall, we are excited about the potential for growth and improvement in our game project.
Log in or sign up for Devpost to join the conversation.