Hello, I'm working on a concentration game, and i'm trying to make the function that will tell if the user matches the flags or does not. So far, I've got it can only tell if they do not match them, but in my loop, it will only work if they click a 3, then a 4. It won't work if they click a 4, and then a 3.
Code:
VB Code:
Dim i As Integer clickcount = clickcount + 1 lblCover(Index).Visible = False For i = 0 To 15 If lblCover(i).Visible = False Then If clickcount = 2 Then picSecond.Picture = imgPicture(i).Picture Else picFirst.Picture = imgPicture(i).Picture End If End If Next i Call CheckMatch




Reply With Quote