I'm trying to create a game where a player clicks a sign and can get one of x possible questions. From this, he/she must type in the correct answer to this question. If the wrong answer is selected, points will be taken away, not a "try again" kind of thing.
I can't seem to find any appropriate way to create these random answers and assign the correct answers to them.
I have the basics of JOptionPane under control though (displaying dialogue and whatnot).
Any help on this issue would be much appreciated. :)