Create a pieces list from a state.