Play against friends with this popular American card game! A fun challenge awaits you.

Players take turns picking up cards either from the discard pile or the stock pile, before discarding a card from their hand. But players need to be quick as there is a time limit indicated by the timer on the left of the screen.
The objective of the game is to form melds and deadwoods, and reduce the deadwood points. Melds are either 3 or 4 cards of the same rank or 3 or more cards of the same suit in sequence. Melds cannot overlap, so a card cannot belong to two melds. Cards that cannot be matched are known as deadwoods, and each deadwood card carries deadwood points.
If a player's deadwood point is less than or equal to 10, they can end the round by knocking. Their opponent will then have a chance to lay off their deadwood cards by forming melds with their opponent’s cards. If a player's deadwood point is less than their opponent's, they will be awarded a score equal to the difference in the deadwood points.
However, if a player has a smaller deadwood point, this is known as an "undercut," and the player will receive 25 points plus the difference in the deadwood points. If a player has no deadwood, their opponent will not be allowed to lay off, and an extra 25 points will be added to their score.
Moreover, if all 11 cards in a player’s hand form valid melds, they can knock before discarding a card and receive an extra 6 points. The game ends when a player's score reaches 100, or if there are only two cards left in the stock pile, the game ends in a draw.
Overall, Gin Rummy offers a challenging gameplay experience that requires skill and strategy to form as many melds as possible and reduce deadwood points. It's an enjoyable game that's perfect for those who love card games and want to test their skills against a worthy opponent.
Version 1.5.0: Added time limit