Dear All,

Could you mind telling me how to code with the card game? It has 52 cards and it comes together with Spade, Heart, Club and Diamond. There are 2 people play together for 8 times, after it, we will get the result of it.

Cheers,

Recommended Answers

All 3 Replies

just some questions ...
1,what is the rule?
2,precedence? "like club stronger then diamond...etc"
3,how many card can be dis?

Dear Sir,

Sorry, I forget to mention about the cards and the rule of it.

It is come together with 52 cards, from A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3, 2. and Spade > Heart > Club > Diamond.

Cheers,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.