Tuesday, June 4, 2013

Quiz Game in Java Swing

I have done this project with Java Swing front end and SQLite back end as a database. The motto of this project is to make a simple quiz game. 

Image I

Image II

Image III

 'Image I' shows the first view of this project. Here, two helplines are there, and four options are also there for each questions. There is a timer that counts time duration of each question. Every question has a fixed time.

N.B. : At first Next button is disabled.
Image IV

Image V

Image VI

Image VII







'Image II' shows that after choosing the correct answer all options and helplines will be disabled and a correct answer will be highlighted in green color. Only Next and Quit button will work at this time.









'Image III' shows the use one of the help options, if you click 50-50 help option, at that moment, two wrong answers will be out randomly. Then you can choose one answer between two options.













   'Image IV' shows after choosing correct answer, what will happen!














'Image V' shows another help option, if you choose the max_vote option then it will always show you the right answer because only one option will leave then and another options will be out.












'Image VI' shows after using all the helplines.













'Image VII' shows if you choose any wrong answer then everything will be disabled and only Quit button will be open. There is no undo facility. Another important thing is, if your answer is wrong, it will be highlighted in red color and correct option will be highlighted in green color.











I think this may help you to make a new project as beginners. I will upload code soon.

1 comment:

  1. thank you for your project.i need to make a quiz game.can you give me the source code for it?

    ReplyDelete