Modified playerLives class