The Interface
|
This is a typical memory game for children. You have to click the rectangles to reveal the pictures and if two of the pictures are matching they will disappear. You win the game when all the pictures are cleared and a background image is usually displayed. In this program, I use an array of twelve image controls and twelve picture boxes. I insert 6 pairs of images and cover them with the picture boxes.In order to match the images, I use tags to identify them, same images are given the same tags.. The tags are being set at the images' properties windows. When two pictures boxes covering the images are being clicked, the program check for the tags of the images and if found that they are the same, then they become invisible. The Codes
Sub check()
End Sub
|