For a monopoly like game I am making I have a section that asks the user the name of the different players.
The number of times, this is asked will be based off of a previous input which asks the user how many players are there.
And from that, there would be different variables set for the number of player.
IE, if the number of players stated in the input was 4, then there would be variables for player 1 with their inputted name and so on to player4.
How would I create a number of variables based on the number of players inputted and also ask the names of each player?
The variables would look somewhat like this:
player1 = John
player2 = Doe
player3 = Sam