Jan-05-2019, 09:21 PM
You are making a recursive call on line 16. You don't want that, just do it in a loop. Have an another for loop (containing the current one) that loops through the number of players. Note that you are using i as the number of players (line 8) and how many cards to deal each player (line 13). You need two separate variables for that. You should name them something more descriptive than i (like num_players and num_cards), so that your code is easier to understand.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures