REFACTORED: extracted player 2 code from the game scene to the player class