Search:

Type: Posts; User: steel55677

Search: Search took 0.08 seconds.

  1. Replies
    11
    Views
    3,233

    Re: TicTacToe 2D Array help

    Fixed it :). Took about a week haha. but finally. I redone my validation method so that it searches through the entire array, then it finds the map of x's and O's and returns the value that it...
  2. Replies
    11
    Views
    3,233

    Re: TicTacToe 2D Array help

    Oh! The previous post was about comparing Reference to a String and I accidently used UserMove=="A1" instead of UserMove.equals("A1").

    and Okay, I tried using another method
    public static...
  3. Replies
    11
    Views
    3,233

    Re: TicTacToe 2D Array help

    My apologies, I edited in the original post but I'll say it here as well:

    The new problem is that the 'X' by the user will always override the 'O's by the computer. For example, if I place X at...
  4. Replies
    11
    Views
    3,233

    Re: TicTacToe 2D Array help

    Now I got a new problem :( can't seem to get my logic around it.
  5. Replies
    11
    Views
    3,233

    Re: TicTacToe 2D Array help

    Thank you sir!
  6. Replies
    11
    Views
    3,233

    TicTacToe 2D Array help

    I got a new problem. I can't seem to have the validation done on the player. In the game, if I put into the move for the User and the computer already has the move, it'll override it.
    I used if...
Results 1 to 6 of 6