set up player state