Compare true Answer /Player answer
It is a game with a part multiple-choice questionnaire and a part open.
For the part of open questions, we ask mathematical questions and the player has to answer by a number (in Jtextfield: rep = new JTextField ())
The questions / answers are in questions.java, I made like that:
And so on...
Tab_ques  = " how much make 3+4? ";
Tab_rep  = "7";
Tab_ques  = " Complete the continuation : 0, 2,4,6, ";
Tab_rep  = "8";
But for the part opened question, I don't know which codes to use and how to compare true answers with the player answers .