Card Memory Game is a card game in which cards are laid face down on a table and two cards are flipped face up on each turn. The object of the game is to turn over pairs of matching cards. The game is also known as Memory or Pairs. In our version of the game player can use decks of 20 or 32 playing cards. Cards are laid face down in four rows of five or eight cards each. In each turn player chooses two cards and turns them face up. If they are of the same rank and color (ace of hearts and ace of diamonds, king of clubs and king of spades, …) player wins the pair and cards are removed from the table. The game ends when the last pair is picked up. Time is recorded and added to leaderboard.