made object values creator function more concise
cleaned up object values code
cleaned up player state code