only return state when it is the players turn