Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write this code iThe project will be written in Java. The final demonstration of the project will be in the week stated in the Course
Write this code iThe project will be written in Java. The final demonstration of the project will be in the week stated in
the Course Syllabus. The project team to implement the project will be composed of or CMPE
students from Section Earn Diamond contains two part:
Part : Ask&Answer
Part : Play
In Part I the program will enable the user to select the category of questions to be answered. There
are three categories: Easy questions, Moderate Questions, Difficult Questions. The project will
be developed in a Graphical User Interface. Thus, elements like textboxes, panels, frames, labels,
checkboxes etc. should be used appropriately and as needed.
After category is selected a pre stored question will randomly be selected and displayed to the user.
The user then selects the answer from the choice of answers.
When the user correctly answers an easy question the user will get points.
If the user correctly answers a category question, she will get points.
Correct answers to the difficult questions will add points to the total points earned by the user.
At any point during the execution, the user may stop Part namely Ask&Answer part, and may start
Play game part.
In Part II Play game part, a x matrix appears on the screen. There also
appears a magic tool and any random number of diamonds located in the
matrix. By using the navigation buttons on the screen, the user aims to move
the magic tool and go and touch the diamond by the magic tool. When the
diamond is touched by the magic tool, diamond disappears from the matrix
and added to the basket of the player. As a result, the user earns points.
Part II duration is determined by the points collected in Part seconds.
When time is up the user turn is finished.
Questions to be used in Part should be stored in a csv file. The format of the cvs file should be:
Question no question category, question text, option a option b option c option d correct choice
Examples are:
What is the capital of Trkiye Ankara, zmir London, Hakkari, a
What is the square root of cn java
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started