Similar to trading card games
Develop games in your browser. Powerful, performant & highly capable.
Well, I guess you would have to use a lot of variables if the cards are supposed to be different.
That's a bit broad question, you should learn basics of c2 So you'll have a decent idea of the problem yourself. After that you could come to the forums asking a solution into something more specific :-)