Rules
All cards lie face down, and every symbol is on exactly two of them. A move is two cards: turn one over, then a second. If they show the same symbol they are a pair and stay face up; if not, they turn back after a second, or as soon as you pick the next card. The game ends when every pair is found. Alone, you play for the fewest moves and the shortest time; the clock starts with your first card.
The board sizes give 8 pairs (4×4), 10 pairs (4×5, laid out four wide on a narrow screen) and 18 pairs (6×6). Each game takes its symbols at random from a set of 18: animals, geometric shapes, the numbers 1 to 18 or the letters A to R. A screen reader hears each card by its name, for example "Card 6 showing fox", and a face-down card as "Card 6, face down".
Two players
With 2 players you take turns on one device. The player who finds a pair scores it and moves again; after two cards that do not match, the turn passes. The highlighted box shows whose turn it is, and each found pair is coloured and numbered for the player who took it. When the last pair is found, the player with more pairs wins; with an even number of pairs a draw is possible. Best results are saved only for one-player games.
This is the traditional rule of the card game known as Concentration, Pairs or Pelmanism, which is played with an ordinary deck of playing cards laid face down, where two cards of the same rank and colour make a pair.
What a perfect game means
The fewest possible moves equals the number of pairs, 8 on a 4×4 board. That needs luck on every move: each time the second card has to match a first card you have never seen. On 4×4 the chance is 1 in 15 × 13 × 11 × 9 × 7 × 5 × 3 = 2,027,025 games.
A fairer target is perfect recall: a player who never forgets a card and follows the method below. A simulation of 200,000 random deals per size (run on 25 October 2026) gives these averages:
| Board | Pairs | Average moves | Fewest in the run |
|---|---|---|---|
| 4×4 | 8 | 12.4 | 9 |
| 4×5 | 10 | 15.6 | 12 |
| 6×6 | 18 | 28.5 | 24 |
The averages agree with the result of Daniel J. Velleman and Gregory S. Warrington (2012), who showed that with optimal play the expected number of moves for n pairs grows as
(3 − 2 ln 2) n + 7/8 − 2 ln 2 ≈ 1.61 n
So a 4×4 game in 12 moves or fewer is as good as flawless memory on an average deal, and it takes some luck to go below that.
A systematic way to turn cards
- If you know where both cards of a pair are, take that pair first.
- Otherwise turn over a card you have not seen yet. If you have seen its partner, turn the partner and take the pair.
- If you have not, turn over a second unseen card rather than one you already know: it may match by luck, and if it does not, you have learned one more card.
- Turn the unseen cards in a fixed order, row by row from the top left, so that the cards you have not seen are always the ones further along and you only need to remember the places of the ones you have.
This is the method the simulation above plays.
Controls
- Mouse or touch: click or tap a card to turn it over. While two cards that do not match are showing, the next card you pick turns them back at once.
- Keyboard: Tab to the cards, the arrow keys move between them, Home and End go to the start and end of a row, Enter or Space turns a card over. N starts a new game, F switches full screen.
- Buttons: board size, players and symbol set deal a new board at once; New game deals again with the same settings; Full screen fills the screen with the board.
With reduced motion turned on in your system settings, the cards turn over without the flip animation.
Sources
- Wikipedia contributors (accessed 25 October 2026). Concentration (card game). Wikipedia.
- Velleman, D. J. and Warrington, G. S. (2012). Matching expectations. arXiv:1208.4854. Published in 2013 as "What to Expect in a Game of Memory", The American Mathematical Monthly 120(9).