Search:

Type: Posts; User: Norm

Search: Search took 0.24 seconds.

  1. Thread: Tic-Tac-Toe Help

    by Norm
    Replies
    13
    Views
    2,350

    Re: Tic-Tac-Toe Help

    The Arrays toString method is mostly for debugging.
    You'll have to write your own code using some loops to have multiple rows of output
  2. Thread: Tic-Tac-Toe Help

    by Norm
    Replies
    13
    Views
    2,350

    Re: Tic-Tac-Toe Help

    Printing the endline char: "\n" will move the output to the next line.
  3. Thread: Tic-Tac-Toe Help

    by Norm
    Replies
    13
    Views
    2,350

    Re: Tic-Tac-Toe Help

    Print out the board after filling it with -

    Try debugging the fillWithRandomXandO method by adding some println statements to print the values of the variables it uses so you can see what the code...
  4. Thread: Tic-Tac-Toe Help

    by Norm
    Replies
    13
    Views
    2,350

    Re: Tic-Tac-Toe Help

    Why are there spaces in the print out?

    Print out the board before you change it
  5. Thread: Tic-Tac-Toe Help

    by Norm
    Replies
    13
    Views
    2,350

    Re: Tic-Tac-Toe Help

    Can you post the code and show its output or the errors?
    If you want to print a 2D array with the Arrays class, it has a method to do that. Its name begins with deep
  6. Thread: Tic-Tac-Toe Help

    by Norm
    Replies
    13
    Views
    2,350

    Re: Tic-Tac-Toe Help

    What is your problem now? Can you generate a board?
  7. Thread: Tic-Tac-Toe Help

    by Norm
    Replies
    13
    Views
    2,350

    Re: Tic-Tac-Toe Help

    What determines what the "proper number" is?
    Does the code now generate a "random" board?


    What output do you get now?
Results 1 to 7 of 7