An open API service indexing awesome lists of open source software.

https://github.com/englishexe/quiz-game-in-cpp

README.md not made.
https://github.com/englishexe/quiz-game-in-cpp

Last synced: over 1 year ago
JSON representation

README.md not made.

Awesome Lists containing this project

README

          

Quiz-Game-In-CPP


Project Status: 🟢 - Complete


Overview:


In this project I made a quiz game with very simple questions using C++. (What year was C++ created?, Who invented C++?, What is the predecessor of C++?, Is the earth flat?)


Langauges:



CPP

Tools:



VisualStudioCode

GCC

Description:


Using CPP, VScode and GCC I have created a quiz game. When ran the first question will appear (What year was C++ created?) the user will be displayed 4 options, they can choose one by typing in the corresponding letter below. Once the user made their selection the program will check if the answer was correct, if it was the score variable will increase by one, if not the correct answer will be displayed.


Developer Docs


For forking & bug fixing - Incomplete


Variables:
questions (array) - Contains all 4 questions
options (2d array) - Contains all possible options for each question
answerKey (array) - Contains the correct answer letters
size ( int) - Contains the size of questions
guess (char) - Contains the users guess
score (int) - The users score in numbers

12/08/23 - V1 - Final