Technology

Technology

The technical decisions behind PLANOMAD’s products, the reasons for them, and what changed afterwards.

Paper

Getting Two Phones to Agree on One Turn: The Four Structures of the Partner Workout and Their Limits

A partner workout looks like a turn-based game, but a set that has been done cannot be undone. We survey methods from turn-based games and distributed systems, and lay out what four designs solved, the assumption that blocked them in the end, and the structure we are now examining.

1Sep 27
2Oct 12
3Oct 16
4Nov 17
5under review

The red phones store or compute the shared progress.

Latest

EngineUnder review

Reviewing how the engine recomputes its state

After handling an action, the engine doesn’t know what changed, so it rereads and compares the state needed by the screen, lock screen, watch and widgets. We look at the cause and the alternatives.

VerificationIn use

What we check when a model replay fails

When a replay fails, we check whether that sequence can really happen before changing the engine. If it can’t, we fix the model and the replay.

Partner workoutUnder review

Partner workout: reviewing a turn kept apart from personal records

Even after we let each phone own its own state, partner workout defects kept coming back. Before the transport, we had to look again at the premise that the turn is computed from personal records.

Partner workoutNot released yet

Detecting when Bluetooth is turned back on

We turned Bluetooth on from the partner-finding screen, and nothing happened. The app learned that Bluetooth was off, then could no longer hear that it had come back on.

Screens and nativeNot adopted

Four experiments in replacing the sorting library

Where an expanded card appears differed from the space it actually occupies. We ran four experiments, separate from the app, to see whether we could make it simpler without the library.

Screens and nativeIn use

Managing screen transitions in one place

To show the departing screen briefly, we kept adding timers and conditions. Before fixing the motion, we first looked at how many places were deciding the same screen.

All pieces

By topic

Partner workout 7

Connecting two phones, and the turns and records of a shared workout

Engine 11

How the Rust engine handles the app’s decisions and state

Records and data 10

Storing, reading, syncing and calculating records

Verification 9

Model checking, code audits and checks in the running app

Screens and native 8

Screen transitions, rendering and native libraries

Foundations 7

Languages, frameworks and how code is shared

Server and accounts 6

Server functions, the database and sign-in