Are you trying to pick 8 random cards for each player?
Card game with 4 players , 8 cards each player.
When the dealer is player1 he deal the cards like-> 3 for player2 "pause" 3 for player3 "pause" 3 for player4 "pause" 3 for him.After that he continue deal 2 cards for each player like before and after another 3 cards.
Right now i have an array setup like
with this array i give to each card a value and after i start a timer depend on this value and i have the result.
Now, this is ok if the dealer is player4 and the first player who receive cards is the player1 because i set the value of the timer like
But if i change the dealer to player1 then the first 3 values must go to the cards of player2.
Right now i do the job by changing the array manually but im looking an easy way.