Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Re: Java matching colours game (second click not working)

    Put this into Google:
    Java matching colours game (second click not working)
    and there is a link to SO that gives a Page not found >>> Did someone post and then delete?...
  2. Re: Java matching colours game (second click not working)

    We've lost the source code???
    I guess the OP has split.
    Here is my version:


    /*...
  3. Re: Java matching colours game (second click not working)

    I would change the definitions of methods and variables so that this code:

    if (cb.buttonState == 0)
    {
    cb.flip(true);
    }
    looked like this:

    if (cb.buttonState...
  4. Re: Java matching colours game (second click not working)

    Add some comments describing the logic of the program:
    For example:
    How is the buttonState variable used? What values should it have and when?
    How is colorPicked used?

    Describe what the button...
  5. Re: Java matching colours game (second click not working)

    How are you trying to debug the code to see why it works the way it does?
    Add some print statements that show the values of variables when they are used and changed. The print out should help.
    ...
  6. Re: Java matching colours game (second click not working)

    Could you add the import statements so the code can be compiled for testing?

    Source was removed March 27 from above: Last edited by cloud__; Yesterday at 09:17 AM.
    NOTE: Source is posted in posts...
Results 1 to 6 of 6