I am making a simple game and I am stuck.
I have a part of the game where the player can choose to either create a new player or choose one of the existing ones. Each player should contain a name, number of losses, wins and a color (I am using a color picker).
I tried making a separate class called Player with those values. But the problem is that when I create a new Player I need a variable name for that player. How would I do this?