added a value class for storing information about the current player