Question: Driving test game is a game that is based about asking the user 10 MCQ questions about driving and it has at the bottom drawn
Driving test game is a game that is based about asking the user 10 MCQ questions about driving and it has at the bottom drawn car using graphics which will move whenever user answers correctly. This project has 3 Classes: 1- main class (it will contain the text fields to enter information about the user and it contains a JButton called "start" when this button pressed it should open new frame called ("questions") 2- in questions class the new frame should contain text area not editable and contain the question once the user selects the answer from RadioButtons and click on submit button if the answer is correct the (graphic car should be moved one step forward and if the answer is wrong the car will stay in its position. After pressing submit and if the answer is correct the text area should be replaced Driving test game is a game that is based about asking the user 10 MCQ questions about driving and it has at the bottom drawn car using graphics which will move whenever user answers correctly. This project has 3 Classes: 1- main class (it will contain the text fields to enter information about the user and it contains a JButton called "start" when this button pressed it should open new frame called ("questions") 2- in questions class the new frame should contain text area not editable and contain the question once the user selects the answer from RadioButtons and click on submit button if the answer is correct the (graphic car should be moved one step forward and if the answer is wrong the car will stay in its position. After pressing submit and if the answer is correct the text area should be replaced
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
