O ill try the other way out too, could not think of how to check who won and I remembered using hashtables in class to store stuff so I figured ill use that.
thanks
Type: Posts; User: leonne
O ill try the other way out too, could not think of how to check who won and I remembered using hashtables in class to store stuff so I figured ill use that.
thanks
Hey, yea I think I have. What I did now was to change player1.put(btn[xxx], btn[xxx]); to player1.put(xxx, xxx); and seems to work. The message pops up when circle has selects the top 3 buttons...
o ok thank for the info, o , I don't think p1 is used, originally the code was something else and I just changed it.
Also while loops seems fine lets me select the 9 button and wont let me pick the...
Hey, I'm trying to use a hashtable to determine which player has won, but seems like its not working.
My guess is that im using "player1.containsKey(1)" incorrectly. I figured that each button is...