Repository navigation
Transfer between devices, obstacle clears on import, clearer step mode - #11
Merged
Merged
Conversation
…inish The export lists the obstacles the game was clearing, with seconds left. On import, one whose clear has finished since the export's own stamp, or has no more left than Erased from Time's free window, comes in as open ground; the rest stay obstacles. The import dialog says how many of each.
The fill gauges stay on in step mode. The buildings a step is not about fade to 40% rather than 18%, the step's own is drawn a little larger and stands on its tile outline instead of under it, and a building that is not working rests at full strength rather than at the floor of its stilled pulse — a reactor built before its coolers was showing at 35%.
"Transfer to another device" packs the roster, Time Lab, anomaly, plan, every board, each island's picked solve, the game import and the Chronon target into one R2T1 code, carried in a link's fragment and offered as a QR code, a copy button, the share sheet and the bare code (which Import also takes). Opening one shows what it holds and replaces on a second press; the solves are re-scored at the receiving browser's roster. The format is binary, with the package's tables and the game's known ids as one-byte indices under a fingerprint, solves as boards, and base41 text that a QR code stores in its alphanumeric mode: a full eight-island save with solves and a game import comes to about 2,000 characters.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Transfer to another device
New Transfer to another device in the ⋯ menu packs everything this browser holds into one code: the roster, Time Lab, anomaly and plan, every board, each island's picked solve, the game import and the Chronon target. It goes over as a QR code, a copyable link, the system share sheet, or the bare code (Import accepts it too). It works both ways, PC ↔ phone.
qrcode-generator(MIT, no dependencies).Obstacle clears on import
Obstacles the game was clearing come in as open ground if their clear has finished since the export, or has no more time left than the Erased from Time free window. The import dialog shows how many were counted as cleared and how many are still running.
Step mode
Checks
npm run check,npm run knip, prettier and all 1,109 tests pass. Transfer was tested end to end in two browsers: a PC with all 8 islands solved, loaded into a fresh phone-sized browser.