This is a typical memory game for children. The user has to click the rectangles to reveal the hidden pictures and if two of the pictures are matching they will disappear. He or she wins the game when all the pictures are cleared and a background image is usually displayed.
In this program, we use an array of twelve image controls and twelve picture boxes. We insert 6 pairs of images and cover them with the picture boxes. In order to match the images, we use tags to identify them, same images are given the same tags.. The tags are being set at the images' properties windows. When two picture 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.
Copyright ® 2008 Dr.Liew Voon Kiong . All rights reserved |Contact: firstname.lastname@example.org