Search:

Type: Posts; User: leonne

Search: Search took 0.16 seconds.

  1. Replies
    7
    Views
    2,075

    [SOLVED] Re: trying to use hashtable in tic tac toe game

    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
  2. Replies
    7
    Views
    2,075

    [SOLVED] Re: trying to use hashtable in tic tac toe game

    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...
  3. Replies
    7
    Views
    2,075

    [SOLVED] Re: trying to use hashtable in tic tac toe game

    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...
  4. Replies
    7
    Views
    2,075

    [SOLVED] trying to use hashtable in tic tac toe game

    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...
Results 1 to 4 of 4