");
match view {
Some(v) => body(&mut s, v),
None => {
@@ -1141,6 +1260,10 @@ pub fn ending(
);
}
}
+ s.push_str("
");
+ if let Some(v) = view {
+ rankings(&mut s, v);
+ }
// CB-WP-0024 T04. Above the log, because it is a result and the log is
// the account. Empty for a first game — one game is not a series, and
// a "cumulative" panel restating the outcome above it is noise.
@@ -1154,14 +1277,20 @@ pub fn ending(
}
s.push_str("
");
}
- log_section(&mut s, log);
+ // Observations 6 and 7: the controls and the full log belong beside
+ // the result, not under it.
let _ = write!(
s,
"
\
play again
\
end session \u{2014} stops the game server
\
-
\
-
the game is over
\
+
",
+ );
+ log_section(&mut s, log);
+ s.push_str("");
+ let _ = write!(
+ s,
+ "