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?...
Type: Posts; User: Norm
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?...
We've lost the source code???
I guess the OP has split.
Here is my version:
/*...
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...
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...
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.
...
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...