lectrote icon indicating copy to clipboard operation
lectrote copied to clipboard

Feature: enhanced transcript mode

Open erkyrath opened this issue 2 years ago • 2 comments

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.

erkyrath avatar Nov 17 '22 16:11 erkyrath

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.

erkyrath avatar Sep 16 '24 05:09 erkyrath

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.

erkyrath avatar Sep 16 '24 05:09 erkyrath

This is now released, at least as a first draft.

erkyrath avatar Sep 30 '24 02:09 erkyrath