Gui-based application which permits user to play trivia game


In this assignment, you will have to write a GUI-based application which permits a user to play a simple trivia game. The game must have 5 questions. Each question must have a corresponding answer and a point value between 1 and 3 which is based on the difficulty of the question. Manually hardcode the 5 questions, answers and point values into your program.

When creating the GUI for the game interface, use a layout of your preference with the suitable text fields, labels and buttons to implement your design. The program must ask the player each question one at a time and allow the player to enter an answer. If the player’s answer matches the correct answer, the player wins the number of points for that question. If the player’s answer is incorrect, the player wins no points for that question and the program should show the right answer. After the player has answered all 5 questions, the game is over and the program must display the player’s total score and then terminate. 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Gui-based application which permits user to play trivia game
Reference No:- TGS02070

Expected delivery within 24 Hours