Drawing polygons
Placing text on the canvas
Programming techniques for representing information
Programming a pause
Calculating elapsed time
One method of shuffling a set of card objects
Introduction
This chapter demonstrates two versions of a card game known variously as memory or concentration. Cards appear face down, and the player turns over two at a time (by clicking on them) in an attempt to find matched pairs. The program removes matches from the board but [virtually] flips back cards that do not match. When players make all the matches, the game ...