The second is that Rummy originated in Asia, and that Rummy was the result of a Mahjongg variant named Kun P'ai that was Westernized as Khanhoo by W.H. Foster's book Foster's Complete Hoyle, which was played with a 40 card Spanish deck and had melding mechanics. The first is that it originated in Mexico around the 1890s in a game described as Conquian in R.F. There are two common theories about the origin of Rummy, attributing its origins in either Mexico or China in the nineteenth century.
The basic goal in any form of rummy is to build melds which can be either sets (three or four of a kind of the same rank) or runs (three or more sequential cards of the same suit) and either be first to go out or to amass more points than the opposition. Rummy is a group of games notable for similar gameplay based on matching cards of the same rank or sequence and same suit. Unsourced material may be challenged and removed.
Please help improve this article by adding citations to reliable sources. This article needs additional citations for verification.