Search:

Type: Posts; User: cloud__

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    662

    Why won't my reset button work?

    [INDENT][INDENT][INDENT][INDENT]This matching game should be reset to a new game with different colours, but it does not? Can someone help

    (sorry not button, it should be function)
    ...
  2. Re: Java matching colours game (second click not working)

    Yep, this does it. How would I delay it? Im fairly new to Java :/ Thank you.
  3. Re: Java matching colours game (second click not working)

    How is the buttonState variable used? It is set to 1 or 0, 1 if flip is set to true, and 0 if flip is set to false. This buttonState sets whether the blank side or the real colour of the button is...
  4. Re: Java matching colours game (second click not working)

    I've tried debugging, I put print statements to print out the grid number of the second clicked button and it prints the number correctly. Im just stuck here as to why the second button doesn't...
  5. Re: Java matching colours game (second click not working)

    Hi, I have added the imports

    --- Update ---



    I've just added the imports now

    --- Update ---
  6. Java matching colours game (second click not working)

    Im trying to create a matching buttons game using Java, when a button is clicked on the grid, it should be uncovered, and then you get a second click and this should be uncovered as well. If they...
Results 1 to 6 of 6