Press the green flag. Press cards to show their colours. Try to get 2 of the same colour. After pressing 2 cards, it will wait for 1 second. When you get 2 cards of the same colour, they will disappear. Get rid of all the cards to win.
This is based on real memory games.