Hello all,

I'm fairly new to visual basic.net and I hope someone could help me with a problem that I am having. I'm trying to create a card game (nothing fancy, really simple stuff) but I don't know how to create my card class so that the same card cannot be selected twice in one hand?

Any suggestions?

Thanks!
Matthew

Setup an Array to store all the possible cards, and Remove them as they are "taken" and if need be store those "taken" cards in another array. Use FOR loops to compare the two arrays.

Hope this helps.....althought late.

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.