Player characters have a state composed of many variables. Hit points remaining, inventory, saves, etc. All of this is reflected in the character s…