border color change is working only for first time
I am trying to make a javascript based small game.
Here is the Fiddle for the GAME
It is almost working except a few issues:-
1.On click of any TD ,if the image is in that TD, cell border color should
be green otherwise if you have clicked on wrong TD, border color turns to
red. This functionality is working only first time you start the game.
from next time it is always showing red border color.
2.Till level 8, the changing of border color is visible, but as you
increase the level,user cannot experience whether he has hit the correct
cell or not.i want something like as soon as you have hit the correct
cell, the color change should be visible and stable until image appears
into another cell.
Any improvement in code and suggestion are appreciable.
No comments:
Post a Comment