Question: I am creating a GUI game, where player is asked a question on any topic and were given 4 choices to select from... Each question
I am creating a GUI game, where player is asked a question on any topic and were given 4 choices to select from... Each question is 1 point..
So this is my question:
- i have created a "start button" on the main page, but what i wanted to get is, when i clicked start, it will go the next page (starting of the game)
- i have also created "Next button", i wanted to get is, "it will move to the next question only when the current question is complete".
- How to get points when user chooses the correct answer
What i have tried is, I have add all control to the pane and I have also created a EventHandler for the "start" and "next" button on the same class of the project. so my doubts is, isit in order to fulfill all these, must i need to created a new class so that when i click start button, it will go to next page of the game and when i click next button, it will move to the next question only when the current question is complete... hopefully to get an example of the code (Text game will do, that allow player to choose the answer (4 choices) from the question that is given)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
