In the past, decks of cards were made by hand, but with the development of the printing press, the production of decks of cards could be automated and standardized. From the 19th century, the designs were also mirrored so that the cards could be held upside down. This led to the playing sides as we know them today.
Click here for more information on making your own deck of cards.