HTML and CSS Reference
In-Depth Information
Because the result shows two different people—after pausing to let the player view both pictures—the
application flips the cards over and lets the player try again. Figure 5-7 shows a successful selection—
two images of the same person (albeit in different pictures).
Figure 5-7. This screenshot shows a match (different scenes, but the same person).
The application removes matched images from the board. When all cards are removed, the time taken to
complete the game appears along with instructions on how to play again, as shown in Figure 5-8.
Figure 5-8. The final screen of the game (photo version). All images have been matched, so no cards
appear.
You can play the game using photos available for download from the topics page on the Friends of ED web
site ( www.friendsofed.co m/ ), but its more fun to use your own. You can start with a small number—say
two or three pairs of images—then work up to images of the whole family, class, or club. And for version
one of the game, you can replace the polygons with your own designs.
 
Search WWH ::




Custom Search