Player state

Added player state.