saving function revised in player class. considering to remove saving function in board class