Message Order Clocks
Order message events with independently maintained logical counters.
Adult planning suggestion: about 9–12 · Logic & rule checking
- Players
- 2–4; cooperate, then exchange the checker role
- Time
- 15–25 minutes
- Materials
- Paper, pencil and the supplied player sheet; keep the host sheet separate.
Prepare
Use two process lanes A and B, initially clock 0. Lay the six event cards in the supplied order and attach message tags to sends. These are logical counters, not clock times in seconds.
Follow the rule
For a local or send event increment that process counter by 1. A send carries its new value. On receive set the receiver to max(its old counter, received tag)+1.
Check each step
Record both lanes after each event, leaving the inactive lane unchanged. A receive cannot occur before its matching send. Do not use the other lane’s latest counter unless a message carries it.
Worked example
Run A-local, A-send-to-B, B-local, B-receive, B-send-to-A, A-receive. Read back the two message tags and compare each send with its receive.
Finish and adapt
Finish with all event counters checked. Equal counters do not mean events happened at the same real time, and a smaller counter alone does not prove a causal connection.
Purpose, observation and provenance
Within this activity: Order message events with independently maintained logical counters.
Ask the checker to name a particular rule and show the recorded evidence. Speed alone is not the goal.
Our rules, examples and printable diagrams are separately prepared. The earliest inventor of the broader mechanism is not established here.
Leslie Lamport · Time, Clocks, and the Ordering of Events — Mechanism background only. Our small paper instance and role rotation are separate; no endorsement or unique-solution claim.
Secondary practice: Cooperation and explaining a check.
For a class of 30, use ten groups of three. Prepare one player-material set per group and keep the host key with the adult. Rotate operator, recorder and checker after each worked example; a reader or scribe may help without choosing answers. Avoid public ranking or diagnostic labels.
Age bands are planning suggestions. Background references may address older learners and do not validate suitability for this age band. Goals describe observable actions, not measured long-term gains or institutional endorsement.
Free alternative: Copy the supplied grids, labels and cards onto reused paper. No specialist product is needed. Adults may prepare pieces or act as a scribe.
Printable materials
Preview at 100% scale, with browser headers and footers off. Cut with suitable help. Keep host keys separate. This is a manual tabletop kit, not an online opponent, automatic judge or solver.
Message Order Clocks · Player materials
Use two process lanes A and B, initially clock 0. Lay the six event cards in the supplied order and attach message tags to sends. These are logical counters, not clock times in seconds.
For a local or send event increment that process counter by 1. A send carries its new value. On receive set the receiver to max(its old counter, received tag)+1.
Record both lanes after each event, leaving the inactive lane unchanged. A receive cannot occur before its matching send. Do not use the other lane’s latest counter unless a message carries it.
| Step / 步 | Event / 事件 |
|---|---|
| 1 | A local / 本地 |
| 2 | A send B / 发B |
| 3 | B local / 本地 |
| 4 | B receive / 收 |
| 5 | B send A / 发A |
| 6 | A receive / 收 |
| Step / cell | Decision / value | Rule checked |
|---|---|---|
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
Message Order Clocks · Host key — keep separate
After steps 1–6 (A,B): (1,0),(2,0),(2,1),(2,3),(2,4),(5,4). Message tags are 2 and 4. Sends precede their receives in logical value.
Lead and check
Use two process lanes A and B, initially clock 0. Lay the six event cards in the supplied order and attach message tags to sends. These are logical counters, not clock times in seconds.
For a local or send event increment that process counter by 1. A send carries its new value. On receive set the receiver to max(its old counter, received tag)+1.
Record both lanes after each event, leaving the inactive lane unchanged. A receive cannot occur before its matching send. Do not use the other lane’s latest counter unless a message carries it.
Run A-local, A-send-to-B, B-local, B-receive, B-send-to-A, A-receive. Read back the two message tags and compare each send with its receive.
Finish with all event counters checked. Equal counters do not mean events happened at the same real time, and a smaller counter alone does not prove a causal connection.
Classroom: ten trios for 30 learners; one kit per trio. Rotate operator, recorder and checker. Age guidance is a planning suggestion; prerequisite support may be necessary.