Memory game with JavaScript Written by MartinVoegeli@gmx.ch http://birdy1976.com/ Idea by kaig@freenet.de (I didn't use his functions!) How to use: 1.) Copy all files (including you images) into the same directory. 2.) Make sure that your photos have the same dimensions. If not distortions will occur. 3.) Rename your images (provide also the cover and blank image (for empty cells)): a) 1.jpg, 2.jpg, 3.jpg, 4.jpg, ..., N.jpg or b) 1.gif, 2.gif, 3.gif, 4.gif, ..., N.gif 4.) Modify - with the help of 'WordPad' (or a similar text editor) the file 'settings.js' - indicate the number of images after: intImages = - indicate the format of your images after: stringSuffix = - After '//play modes': adapt the number of proposed play modes by erasing the modes that you don't want. Adapt also the numbers of the resting modes. - Adapt the number of lines in the name array to your number of pictures. Either by erasing some of the lines, if you have less the 10 pictures. If you use more pictures, add the needed lines to the array. - adapt the names in the lines: first line equals first picture, etc. -> Attention: number of images and number of lines in the name array must be equal! 5.) Play the game ;) Martin Vögeli "Variation: If you want to change the size of the game, change the settings behind 'intWidth' and 'intHeight'. Be careful to keep the relation between the two values.