This is a Quiz Game Mini Project in C designed as a simple console application. In this project, a number of questions are asked and questions are chosen in such a way that they cover all fields of a typical quiz contest. The user’s general knowledge is tested with quiz questions regarding science, technology, movies, sports, general health, geography and many more.
- The quiz game is divided into two rounds, the first is called the Warm-up Round and the second is the Challenge round
- The user is asked a total of 3 questions in the first round.
- The user must be able to answer at least 2 questions correctly in the first round to enter the second round.
- The user is asked a total of 10 questions in the second round.
- For each question asked, there are 4 options, namely A, B, C and D.
- The user is awarded 100 marks for each correct answer in the second round.
- The user is not awarded any marks for wrong answers.
- There is no negative markings.
- The user can view the highest score.
- The user can reset the highest score.
- The user can view the help menu.
- The user can exit the game.
- The user can view the game summary and rules.
I have divided this mini project into many functions, and listed below are some of those which may help you understand the project better.
-
edit_score() – adds the current scores to previous one upon giving the right answer to a question.
-
help() – help menu with game summary and rules.
-
reset_score() – to reset the highest score to default.
-
show_record() – shows the highest score of a particular user.
-
show_score() – to view the highest score.
- The project is written in C programming language.
- The project is compiled in Code::Blocks with gcc compiler.
- The project is designed as a simple console application.
The source code of this project is available on GitHub
The project developer of this project is Rudrakshi99