Search:

Type: Posts; User: Norm

Search: Search took 0.14 seconds.

  1. Replies
    6
    Views
    1,069

    Re: Numbers moving that shouldnt be

    What statements are before the code you posted that prevents the posted code from executing?
    What are the values of the variables that are tested?

    Did you test your code? See what this statement...
  2. Replies
    6
    Views
    1,069

    Re: Numbers moving that shouldnt be

    Sometimes that's what happens. There could be lots of printlns and the answer to your problem will be in those print outs.
    If there is one particular content of a square that gets moved, use if...
  3. Replies
    6
    Views
    1,069

    Re: Numbers moving that shouldnt be

    Try debugging your code by adding printlns to show the values of variables as they are changed by the program. Be sure to print out enough information do show what the code is doing and what are the...
Results 1 to 3 of 3