Skip to content

Transfer between devices, obstacle clears on import, clearer step mode - #11

Merged
OGMods merged 3 commits into
mainfrom
transfer-and-step-polish
Oct 29, 2026
Merged

OGMods merged 3 commits into
mainfrom
transfer-and-step-polish

Conversation

@OGMods

@OGMods OGMods commented Oct 29, 2026

Copy link
Copy Markdown
Owner

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.

  • Opening a link shows what it holds and replaces only on a second press. The solves are re-scored at the receiving browser's roster.
  • The code goes in the link's fragment, so it never reaches a server.
  • The format is binary:
    • The package's tables and the game's known research and anomaly ids are one-byte indices. A fingerprint makes the code refuse to load on a different app version instead of misreading it.
    • Ids the game adds later travel by name.
    • Solves travel as boards.
    • The text is base41, which a QR code stores in its alphanumeric mode.
  • Size, measured: a full 8-island save with solves and a game import is about 1,900–2,000 characters, which fits one QR code. A single-solve transfer that measured 2,924 characters early on now measures 1,728.
  • Adds 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

  • The percentage gauges stay visible.
  • Other buildings fade to 40% instead of 18%.
  • The step's own building is drawn 15% larger and stands on top of its tile outline.
  • A building that isn't working (e.g. a reactor built before its coolers) now shows at full strength instead of the 35% floor of its stilled pulse.

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.

…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.
@OGMods
OGMods merged commit ae9fd11 into main Oct 29, 2026
3 checks passed
@OGMods
OGMods deleted the transfer-and-step-polish branch October 29, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant