Player bank info display rework: context, fields, dedupe (Closes #113) #115

Merged
robertismo merged 1 commit from 113-player-display into master 2026-10-01 14:54:38 +00:00
Owner

What changed

Base display cleaned. The HUD is four tidy lines: cash / deposits / net position, the balance sheet, deposit rate + reserve requirement in numbers, and the loan and bond books (count, effective rate, effective term each).

Context on every number. Every headline number carries what it was at the start of last turn via a turn-start snapshot. No scrolling back to compare.

Bond display parallel to loans. After the take phase: "you took N bonds this turn — face X · effective rate Y%/turn · term Z turns" plus a BOND BOOK line with face / eff rate / term left and was-values, mirroring the loan award summary and PORTFOLIO.

Duplicate display gone. The interactive game streams every log line live exactly once; the turn-end dump is removed (spectate still flushes). One turn header, one deposit table per turn.

Defaults at the turn start. Loan defaults print immediately after the die, since the log streams live.

Help lines trimmed. Loan sheet, all-rate hint, bond offer sheet: no inline examples.

Verification

  • build, full test suite, vet clean
  • scripted interactive smoke (cfg-default, seed 33): 11 turns, exactly one turn header and one deposit table per turn, HUD was-values present, bond summary present, trimmed help lines present
  • headless spectate regression: 18 turns, one header per turn, zero ACCT/CF divergences, zero AI errors, zero HUD leakage into headless output
## What changed **Base display cleaned.** The HUD is four tidy lines: cash / deposits / net position, the balance sheet, deposit rate + reserve requirement in numbers, and the loan and bond books (count, effective rate, effective term each). **Context on every number.** Every headline number carries what it was at the start of last turn via a turn-start snapshot. No scrolling back to compare. **Bond display parallel to loans.** After the take phase: "you took N bonds this turn — face X · effective rate Y%/turn · term Z turns" plus a BOND BOOK line with face / eff rate / term left and was-values, mirroring the loan award summary and PORTFOLIO. **Duplicate display gone.** The interactive game streams every log line live exactly once; the turn-end dump is removed (spectate still flushes). One turn header, one deposit table per turn. **Defaults at the turn start.** Loan defaults print immediately after the die, since the log streams live. **Help lines trimmed.** Loan sheet, all-rate hint, bond offer sheet: no inline examples. ## Verification - build, full test suite, vet clean - scripted interactive smoke (cfg-default, seed 33): 11 turns, exactly one turn header and one deposit table per turn, HUD was-values present, bond summary present, trimmed help lines present - headless spectate regression: 18 turns, one header per turn, zero ACCT/CF divergences, zero AI errors, zero HUD leakage into headless output
player bank info display rework: context, fields, dedupe (Closes #113)
All checks were successful
build / build (push) Successful in 26s
4238d66730
The human bank info display is rebuilt end to end:

- Base display cleaned: the HUD is now four tidy lines - cash /
  deposits / net position with (was ...) context from the start of
  last turn, the balance sheet, the deposit rate with the reserve
  requirement in numbers, and the loan and bond books: count,
  effective rate, and effective term for each, also with (was ...).

- Context everywhere: every headline number carries what it was at
  the start of last turn via a turn-start snapshot, so nothing
  needs scrolling back to compare.

- The HUD prints before every decision, as before: after the die
  (deposit rate), before the loan sheet, before the bond offers,
  before the bond take.

- Bond display parallel to loans: after the take phase the human
  sees "you took N bonds this turn - face X - effective rate Y/turn
  - term Z turns" plus a BOND BOOK line with face / eff rate / term
  left and their was-values, exactly mirroring the loan award
  summary and PORTFOLIO lines.

- Duplicate display removed: the interactive game now streams every
  log line live exactly once and the turn-end log dump is gone
  (spectate still flushes). One turn header, one deposit table.

- Defaults show at the turn start: since the log streams live, the
  loan-default lines from the die roll appear immediately after the
  die, not at the end of the turn.

- Help lines trimmed: the loan sheet, the all-rate format hint, and
  the bond offer sheet no longer carry inline examples.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Winnie/bankwars!115
No description provided.