Live game snapshots become version 2 with the clock and each move's time left. On restore the running clock goes on from the start of the turn, so downtime is not charged; version 1 snapshots get a new clock. Saved games keep the initial time (migration 002_clock) and each move's time left. |
||
|---|---|---|
| .. | ||
| 001_games.ts | ||
| 002_clock.ts | ||
| index.ts | ||