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. |
||
|---|---|---|
| .. | ||
| FakeRtmt.ts | ||
| fakes.ts | ||
| GameClockScheduler.test.ts | ||
| GameManager.test.ts | ||
| LiveGames.test.ts | ||