lectrote
lectrote copied to clipboard
Feature: enhanced transcript mode
Interpreter-managed transcript mode which writes out the GlkOte update stream for any game. That would either be a sequence of JSON objects or an array containing JSON objects.
(A single array is better, but requires the interpreter to back up and overwrite the final ]
every time output is added.)
(Bonus: timestamp each object.)
We could then have tools to parse the JSON and create a formatted transcript, a blow-by-blow replay, or whatever else you wanted.
Discussion suggests doing this for every game, by default. That way we could all stop worrying about SCRIPT ON.
The app should provide a simple transcript viewer to render the JSON stream in static form. But in theory we could have UI to reconstruct the status line at any point, etc.
Of course saving every game forever would eventually clog the user's storage. "Save the last N transcripts" is more reasonable. Provide a preference maybe.
This is now released, at least as a first draft.