A hand can contain three or fewer melds to knock or form legal gin. A player can form any combination of melds within their hand, whether it contains all sets, all runs, or both. Aces are considered low - they can form a set with other aces but only the low end of runs ( A♠ 2♠ 3♠ is a legal run but Q♠ K♠ A♠ is not). Deadwood cards are those not in any meld. 8♥ 8♦ 8♠ and runs of 3 or more cards in sequence, of the same suit. Gin has two types of meld: Sets of 3 or 4 cards sharing the same rank, e.g. The basic game strategy is to improve one's hand by forming melds and eliminating deadwood. The objective in gin rummy is to score points and reach an agreed number of points or more, usually 100, before the opponent does. The ranking from high to low is King, Queen, Jack, 10, 9, 8, 7, 6, 5, 4, 3, 2, Ace (kings over aces). Gin is played with a standard 52-deck pack of cards. John Scarne's theory deriving Rummy from Poker through the medium of Whiskey Poker has not gained general acceptance. According to John Scarne, Gin evolved from 19th-century Whiskey Poker and was created with the intention of being faster than standard rummy but less spontaneous than knock rummy. Gin rummy, or simply gin, is a two-player card game created in 1909 by Elwood T.