Feel the round trip
One plot, 300 ms away
Remy builds a test: one garden plot, and a server 300 ms away for the round trip.
There are three ways to plant: wait for the server, predict, and predict on the far plot, where something has changed that the app has not heard about yet.
Try it
Plant three ways
Try all three buttons. Watch when the seed appears, and whether it stays.
Quick check
Which of Remy's three ways showed the seed at once and kept it?
- Plant with prediction
- Plant and wait
- Plant on the far plot
Show the answer
Plant with prediction
Prediction showed the seed at 0 ms, and the server agreed. Waiting took the full 300 ms, and the far plot was refused.
The seed that vanished
On the far plot, the app guessed and the server said no: another player had dropped a rock there. The server's answer wins, so the seed disappears.
Valve's Source corrects such prediction errors and smooths the correction, so a wrong guess does not snap the screen.
Quick check
Why did the server refuse the far plot?
- Another player had just put a rock there, and the app had not heard yet
- The app planted too quickly
- The server was down
Show the answer
Another player had just put a rock there, and the app had not heard yet
A prediction can only use what the app knows. News of the rock was still on its way.
How often guesses fail
With the same rules on both sides, a guess fails only when another player changed the world in that same moment. In a quiet corner of the garden, almost never.
Tune it
At the busy market, many players plant at once, and seeds often vanish. What helps?
- Show a sprouting state until the server confirms, only in busy spots
- Stop asking the server
- Make every plant wait 2 seconds
Show the answer
Show a sprouting state until the server confirms, only in busy spots
Where guesses often fail, a gentle "sprouting" look sets the right expectation. Everywhere else, prediction stays instant.
On the studio board
The studio adds a decision to the board:
A player's own actions are predicted. The server has the final say, and corrections are smoothed.
Bolt says: Next: server reconciliation.
Fact-checked 12 October 2026
- Valve: Source Multiplayer Networking developer.valvesoftware.com