1. Home
  2. Computing & Technology
  3. JavaScript

Unobtrusive Concentration Memory Game

1. Introduction and Sample

More of this Feature

Get the Script

This version of my Concentration/Memory Game works exactly the same way as the original except that there is now only the one script to attach to your web page and just a div tag to go in the page where you want the game to appear.

If you haven't played this game before the rules are very simple. There are 36 squares that conceal 18 pairs. You just select two squares. If the two you select match then they will remain visible, if they don't then they will disappear again after a second or so. The counter button at the bottom tracks how long it takes you to match all of the pairs. If you want to start over just press the counter button and the whole thing will be randomized for you to start over.

To add this game to your page you just need to obtain the script.

Explore JavaScript
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.