Kittens Game has a feature that allows you to export or import game saves. When you click "export", the game generates an apparently random text code that you can copy/paste into the "import" field on another device. When you import the code, you get a new save with the same data as the one you exported (time, resources, upgrades, kittens).
I wanted to test this feature, so I made a world with 50 kittens in 30 in-game years using the in-game console to give myself 200k karma (Ctrl + Shift + I, go to console, and type
gamePage.karmaKittens = 100000000000). I exported this game and got a text code. I've tried to understand how the code relates to the game state, but without success.
After a bit (1 hour) of researching, rule-detecting and searching for repeating parts, I gave up. It seems that most of the text is redundant or without use. What parts mean what, and how can I get some information from it?
Can I edit the text code to get a different save? Or is the code just a key to a server-stored save?