Home · Comment | 12/07 '17 · Playing Card

Play Game

A playing card is a piece of specially prepared heavy paper, thin cardboard, plastic-coated paper, cotton-paper blend, or thin plastic, marked with distinguishing motifs and used as one of a set for playing card games. Playing cards are typically palm-sized for convenient handling, and were first invented in China during the Tang dynasty. 1

This game is made based on playing card. I actually haven't thought about what the game would be before I started generating cards using JavaScript. While coding, I decided to create a simple puzzle game to match the numbers between cards.

8
8
9
9
5
5
10
10
4
4
K
K
10
10
K
K
8
8
6
6
J
J
Q
Q
3
3
A
A
3
3
7
7
5
5
8
8
6
6
6
6
8
8
J
J
7
7
10
10
J
J
4
4
A
A
2
2
5
5
2
2
2
2
J
J
6
6
3
3
5
5
7
7
9
9
3
3
2
2
9
9
Q
Q
7
7
Q
Q
Q
Q
9
9
10
10
4
4
K
K
4
4
A
A
K
K
A
A

Select the same number those should be 4 cards. After the 4th card selected it will be automatically removed and the number of the cards available will be less. Can you clear all the cards?