Rollback netcode
Related terms: GGPO, delay-based netcode, determinism
Used by fighting games, where every frame counts. Each machine runs the game immediately with its own inputs and a guess for the opponent's, usually "same as last frame". When the real input arrives and differs, the game rewinds to that frame, applies it, and re-simulates up to the present, all within one frame.
It requires a deterministic simulation: the same inputs must give exactly the same result on every machine. The older alternative, delay-based netcode, waits for both inputs and adds input lag.
- Further reading
- GGPO: Rollback Networking