Im new to the java scene and i need to create a piece of code which will shuffle a pack of codes X amount times depending on what number the user inputs.
Im guessing that i need to have two strings, one for suits of the cards and the other for values of the card, i would then put these strings together into an array. Then a loop is used to shuffle the deck X amount of times.
Am i on the right lines? Also could you give me tips on how to do this and links to tutorials whihc would help me.
There are lots of discussions of cards, decks and shuffling here on the forum. Use the Search feature.