Deterministic replay
Related terms: record and replay, determinism, recovery, regression testing
Reproducing a simulation by starting from the same state and feeding it the same recorded inputs. The result must match, not merely look similar. This lets developers investigate failures, compare changes or recover an earlier game state.
Player commands alone may be insufficient. Timing, random-number state, external responses and execution order must also be controlled or recorded where they affect results. The code and game data must be compatible with the recording. League of Legends' Chronobreak uses deterministic server replay to restore an earlier match state after an incident, rather than restarting the whole match.
- Further reading
- Riot Games: Determinism in League of Legends: Implementation