Search:

Type: Posts; User: Norm

Search: Search took 0.24 seconds.

  1. Thread: 15 square puzzle

    by Norm
    Replies
    5
    Views
    1,153

    Re: 15 square puzzle

    For quicker testing, change the shuffle method to create a position that is one move from a win.
  2. Thread: 15 square puzzle

    by Norm
    Replies
    5
    Views
    1,153

    Re: 15 square puzzle

    Debugging takes patience. Sometimes printlns are better because they can be faster than the interactive debug. Especially if the error doesn't happen every time.
  3. Thread: 15 square puzzle

    by Norm
    Replies
    5
    Views
    1,153

    Re: 15 square puzzle

    Sounds like a logic problem. Are there variables with incorrect values causing it to happen? Have you tried debugging by adding some println statements that print out the values of the variables...
Results 1 to 3 of 3