I am wanting to create a card game that will have 1 to 7 players plus the dealer. Currently I have 1 player and the dealer. Each player will have a listbox that contains an index for each card in the player's hand. As the cards are dealt each player will be dealt their first card including the dealer, the dealer being last. Then everyone is dealt their second card again the dealer being last. What i need is a way to save the contents of the listbox for each player and when it's that player's turn to recieve another card the repopulate the listbox with the previously saved items and then add the new itemas it is dealt to the player. Could be used in many types of card games.
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.