In Memory Game, the user needs to quickly memorize a group of tiles on a grid. That means remembering their location, and maybe even the shapes they create. The game “challenges a part of your short-term memory called spatial recall — your ability to track location and position within an environment”.
If wrong tiles are pressed the next matrix gets generated with lower number of tiles, or smaller size. If the user successfully clicked all the tiles then the game becomes one step more difficult. Each time the user clicks on wrong button loses 1 score, each time clicks the correct tile, gets +1 scores.
Link to Rotation Matrix