Similar to trading card games
Well, I guess you would have to use a lot of variables if the cards are supposed to be different.
Develop games in your browser. Powerful, performant & highly capable.
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 :-)