the quiz game in c++

9
THE QUIZ GAME BE A MILLIONER

Upload: rohan-vachhani

Post on 17-Jan-2017

312 views

Category:

Education


21 download

TRANSCRIPT

PowerPoint Presentation

THE QUIZ GAMEBe a Millioner

AboutThis is a simple quiz game which is made in C++ programming language.In this game, the questions are about basic general knowledge.It is the c++ console application, which uses some functionality of c++ graphics programming.Per right answer of the question, user have been paid fixed amount of money.So, just PLAY AND WIN

CONCEPT USED

Object oriented programmingFront-end : c++ programmingBack-end : file systemMultifile systemGraphics in c++

In the gameThere are total 10 questions in the game and four options for choose right answer.For the first four questions, there is timer on the screen , which gives time of 20 seconds to user for choose the answer. If user fails to done in time limit, then the game is over.If the answer is wrong, then the game is over..!!

Cont.There are 2 check-points in the game, first check-point is at the 4th question and the second one is at 8th .If the user quits at question after check-point, then user wins the prize money of last check-point question.At the end of the game, the records like name ,prize money and time of play is written in the text file.

RequirementsSoftware Os : dos ( recommended ) ,windows (all versions)Work efficiently on the TURBO c++ 3.o IDE Inbuilt graphics drivers

hardwareRam : 512 mb of ram or higherProcessor : 800 MHZ intel Pentium or higherHDD : 40 gb or more

Some randomizationHere in the game, there is 10 questions, which are selected randomly from the question file, which has more than 10 questions.Here the selected questions are not repeated in any case.Also, the randomization process is done by the reference of the current system time.User can not predict the sequence of the questions from the previous game.! no predictions.!!

About graphics.h

Graphics.h is now a kind of outdated library, but it is still used in basic c++ graphics programming.openGL, wxsmith and wxwidgets graphics libraries can be use more efficiently and with more qualitative graphics instead of graphics.hGraphics.h library efficiently used only with turbo++ IDE. Latest compilers / ide does not directly support for this.

THANK YOURohan vachhani (15CE146)Piyush thummar (15CE142) Yash vaghani (15CE147)Guided By : Martin Sir