I'm in a bit of a pickle and need some help. What I'm doing is some thing like:
boolean[] turn1 = {false, false, false, false, false, false};
boolean[] turn2 = {false, false, false, false, false, false};
I'm trying to make something like if I could make a pair from turn1 and turn2 true, how could I make it so that you could only choose those that are false? I am sorry beforehand if this seems a bit vague but I will answer any question if asked.
edit:ok ill try to specify. I'm trying to make matching pairs. I suppose it could be anything as long as they have the same word. I'm making a memory game. What I want is that when I choose a matching pair, they could never be selected again. So I figured that in order to do that is to make the matching pair true so I could limit myself from choosing those that are false.