The creature state stored in #210, while quite compact, is also very fragile, because any minor change in our creature generation algorithm or even vocabulary will completely throw off existing serializations.
This attempts to serialize the actual creature created by the generator rather than its random number seed, which will be a larger serialization but also one that is more resilient to future changes in the algorithm and/or vocabulary. It should also pave the way for tweaking generated creatures.
Note that the previous v1 schema implemented in #210 is no longer supported--i.e., links that use it will now be broken. Hopefully this is OK because it hasn't been around for very long, but it was just way too much work to migrate that schema to the new v2 format.
To do
[x] Serialize/deserialize attached and nested symbols.
[x] See if we can potentially preserve the non-serialized generator parameters as the user navigates through their browser history. (Currently, going back will reset a bunch of parameters to their defaults, which is not ideal.) Fixed by #212.
The creature state stored in #210, while quite compact, is also very fragile, because any minor change in our creature generation algorithm or even vocabulary will completely throw off existing serializations.
This attempts to serialize the actual creature created by the generator rather than its random number seed, which will be a larger serialization but also one that is more resilient to future changes in the algorithm and/or vocabulary. It should also pave the way for tweaking generated creatures.
Note that the previous
v1
schema implemented in #210 is no longer supported--i.e., links that use it will now be broken. Hopefully this is OK because it hasn't been around for very long, but it was just way too much work to migrate that schema to the newv2
format.To do
See if we can potentially preserve the non-serialized generator parameters as the user navigates through their browser history. (Currently, going back will reset a bunch of parameters to their defaults, which is not ideal.)Fixed by #212.