Game with a player class:

This is another step closer to your game being created:

Back up your game before you start this.

Create a player class for your game. Your player class should have at least 2 methods: a constructor and one more method. This will mean taking code out of your game to move into your player.

In the beginning of your game, ask your players for their names and create two player objects.

Change your game to call the player's methods.

You don't have to get the two players working throughout the game at this point.