playing cards

please excuse me if this has been brought up before (and link if you can), but how or why did someone invent playing cards. how did they decide to use the king, queen, etc. and i know what a joker is, but what’s a jack? were cards invented to play poker or poker invented to play with cards. what was the first card game? i can see how games like monopoly or sorry or life come about, but playing card seem pretty random. if they’ve been around for more than a few hundred years, then was it an elitest (peasants probably couldn’t count all that good) game?

We live in an age that reads too much to be wise, and thinks too much to be beautiful–Oscar Wilde

Here’s an answer so some of your questions. It’s a pretty intersting page: