Simple Memory Game This game contain a 4x5 grid. There should be 20 distinctive images, randomly assigned to each grid cell. Initially each image is facing down, e.g., showing only the background. When a user clicks on particular cell, reveal the content of the image. The “open” cell will be reverted back to its background image after three seconds. If two open cells have the identical image, they will stay revealed permanently. In addition, if a third cell is revealed, the previous two open cells will close immediately.
Game should also have the following two buttons: start, reset. It should keep track of the cell status, and be able to judge if the game has finished (e.g., all cells are open).