diff --git a/WORK-RECORDS.md b/WORK-RECORDS.md
index 7453729..1c66020 100644
--- a/WORK-RECORDS.md
+++ b/WORK-RECORDS.md
@@ -40,6 +40,7 @@
| workplan | CB-WP-0030 | done | — | workplans/CB-WP-0030-a-number-that-does-not-move.md |
| workplan | CB-WP-0031 | done | — | workplans/CB-WP-0031-the-comment-box-outlives-the-game.md |
| workplan | CB-WP-0032 | done | — | workplans/CB-WP-0032-the-comments-in-the-account.md |
+| workplan | CB-WP-0033 | done | — | workplans/CB-WP-0033-a-game-is-the-unit.md |
| task | CB-WP-0001-T01 | done | — | workplans/CB-WP-0001-inner-loop.md |
| task | CB-WP-0001-T02 | done | — | workplans/CB-WP-0001-inner-loop.md |
| task | CB-WP-0001-T03 | done | — | workplans/CB-WP-0001-inner-loop.md |
@@ -203,3 +204,4 @@
| task | CB-WP-0030-T04 | done | — | workplans/CB-WP-0030-a-number-that-does-not-move.md |
| task | CB-WP-0031-T01 | done | — | workplans/CB-WP-0031-the-comment-box-outlives-the-game.md |
| task | CB-WP-0032-T01 | done | — | workplans/CB-WP-0032-the-comments-in-the-account.md |
+| task | CB-WP-0033-T01 | done | — | workplans/CB-WP-0033-a-game-is-the-unit.md |
diff --git a/crates/cb-render-html/src/doc.rs b/crates/cb-render-html/src/doc.rs
index 9387227..85a85f4 100644
--- a/crates/cb-render-html/src/doc.rs
+++ b/crates/cb-render-html/src/doc.rs
@@ -889,17 +889,39 @@ fn player_card(out: &mut String, id: PlayerId, p: &PlayerView, view: &GroundView
}
);
}
+ // CB-WP-0034. These four were `{:?}` on a player surface, which is
+ // the defect `selection_words` above was written for -- fixed once,
+ // for one field, with its four neighbours left as they were.
+ //
+ // The `support` line is the one the maintainer reported: it read
+ // `support AcceptBond`, which names the answer and not the person.
if let Some(m) = view.ground_modes.get(&id) {
- let _ = write!(out, "ground mode {m:?}
");
+ let _ = write!(
+ out,
+ "ground mode {}
",
+ esc(ground_mode_label(m))
+ );
}
if let Some(c) = view.ground_choices.get(&id) {
- let _ = write!(out, "ground choice {c:?}
");
+ let _ = write!(
+ out,
+ "ground choice {}
",
+ esc(&ground_choice_label(c))
+ );
}
if let Some(r) = view.support_responses.get(&id) {
- let _ = write!(out, "support {r:?}
");
+ let _ = write!(
+ out,
+ "support {}
",
+ esc(&support_words(r, supporter_of(view, Some(id))))
+ );
}
if let Some(t) = view.darvo_targets.get(&id) {
- let _ = write!(out, "darvo target {t:?}
");
+ let _ = write!(
+ out,
+ "darvo target {}
",
+ esc(&darvo_target_words(t))
+ );
}
out.push_str("");
}
@@ -989,7 +1011,7 @@ pub fn document_with_log(
// game rather than part of it.
s.push_str("