Quest2GameRead the game. Change the rules.

Lesson · 6 min Stretch

The Coordinated Attack

In one line When every message might be lost, no number of confirmations makes a plan common knowledge, so people act on enough.

Two armies camp on two hills with an enemy in the valley between. If both attack at dawn they win, worth 6 to each general. If one attacks alone it is destroyed, a loss of 10, and waiting is worth 0. The table has two resting points: both attack, or both wait. The generals can talk only by sending a messenger through the valley, where he may be caught.

The first general sends: attack at dawn. If the messenger gets through, the second general knows the plan, but the first does not know that he knows, so the second sends a confirmation back. Now the first knows that the second knows, but the second cannot tell whether his confirmation arrived, so he needs a confirmation of that. Each message adds one layer of knowing, and whoever sent the last one is left unsure it landed. No finite chain of messages makes the plan common knowledge, and a perfectly careful general never attacks.

The puzzle comes from computer science. E. A. Akkoyunlu, K. Ekanadham and R. V. Huber described a version in 1975, and Jim Gray told it with generals in 1978. Engineers meet it whenever machines talk over a network that can lose messages. Since certainty is out of reach, they settle for enough: a few confirmations, time limits and a way to undo a step that went wrong.

People do the same. Unlike the children in The Muddy Children, the generals never share one public moment, and neither do most teams. Plans go ahead with a small risk of a mix-up, and how much certainty is worth waiting for depends on what a failure would cost.

Two generals on two hills: 6 each for attacking together, a loss of 10 for attacking alone, 0 for waiting
First general
Second general
Attack at dawnWait
Attack at dawn6, 6-10, 0
Wait0, -100, 0
In each box, First general’s payoff comes first, then Second general’s. Higher is better.
Go deeper

The same reasoning sits under much of the internet. When your computer opens a connection to a website, the two machines trade a short greeting of three messages before sending anything else. That greeting does not make the connection common knowledge; nothing could. It is a judgement by engineers that three messages, with time limits and the power to start again, are enough for nearly every purpose. Banks, airlines and hospitals build their systems on similar judgements.

The midnight switch

Illustration: The midnight switch

Haukur manages the booking system for a ferry company in Reykjavík, Iceland. At midnight he and a colleague in the island office must both switch the old system off and the new one on. If only one switches, bookings made in the next hour land in the wrong place. The island's internet line drops messages in storms, and a storm is coming.

Haukur emails the plan, and a reply comes back: confirmed. Now he knows his colleague knows, but his colleague cannot be sure the reply arrived. Rather than trade confirmations all evening, Haukur adds a rule: if either side has heard nothing by eleven, both keep the old system running for another night. A wasted night costs little, while a split switch would cost a morning of tangled bookings. He accepts a small risk of an unneeded delay instead of waiting for a certainty that cannot come.

Try this today Next time you arrange something by message, notice when you stop confirming, and what risk you accept at that point.

Question 1 of 2

Two friends in Montevideo agree by text to meet at a café at six. One writes "see you there", the other replies "confirmed", and the first answers "got your confirmation".

Why does this chain of texts fall short of full common knowledge?

Question 2 of 2

Two teams at a hospital in Durban must move a patient between wards at night, and they coordinate by pager, which sometimes fails.

Which practice best fits the way engineers act without certainty?

Cite or share this lesson

A plain reference you can paste into notes or an essay:

Quest2Game. “The Coordinated Attack.” https://quest2game.com/learn/lesson/the-coordinated-attack. Accessed 30 November 2026.

Sources
  • Two Generals' Problem — The puzzle, its origins in 1975 and 1978, and how engineers work around it.
  • Common Knowledge — The Stanford Encyclopedia of Philosophy on common knowledge and what weaker forms of it can do.