Skip to content

Regrip API / domain/PlayerSync.gen / effect

Type Alias: effect

effect = { algorithm: string; kind: "setAlgorithm"; } | { kind: "addMove"; move: string; }

Defined in: packages/core/src/domain/PlayerSync.gen.ts:14

A side effect for the adapter to apply: install an algorithm, or replay one move on top of it.