added playerState to communication protocol