Commit Graph
23 Commits
Author SHA1 Message Date
MichaelandClaude Fable 5.2 72e06aabdb Players wear shirt numbers the manager can change
Every player keeps a number from 1 to 99, unique within his squad. The
line-up shows it and changes it by a click; the tactics sketch and the
match sheet wear it too.

Engine: shirt_numbers.hpp, squad read player.shirtNumber, command
lineup.setNumber; saved in state/modern.json.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 16:58:34 +01:00
MichaelandClaude Fable 5.2 2639f37def The stadium has a name of its own, and the name can be sold
A manager renames his stadium on the stadium page. On the advertising page
three sponsors offer to buy the name for one to five years; the sponsor
pays with every month change, the stadium is called after him, and until
the contract ends it can be neither renamed nor sold again. The match
sheet shows the name.

Engine: naming_rights.hpp; read stadium (name, nameEditable, namingRights,
namingOffers), commands stadium.rename and stadium.namingRights, live read
stadiumName; saved in state/modern.json.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 15:09:01 +01:00
MichaelandClaude Fable 5.2 52157159cb Rain and snow show rain photographs behind the match sheet
Five rain photographs replace the wet pitch picture, which showed a branded
ball. Snow uses the one with sleet on the pane. They are listed with the
pitch photographs in the third-party notices.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 09:15:15 +01:00
MichaelandClaude Fable 5.2 20b8406763 Pitch photographs lie behind the match sheet; a managed ground shows how full it is
The stadium pictures give way to nine photographs of the pitch, used unscaled.
The live read carries the capacity of a managed home ground. The manager's
eleven stays on the team page after the final whistle, and the cards of two to
four matches keep their grid.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 23:09:08 +01:00
MichaelandClaude Fable 5.2 13f5b1e4d4 The evaluation after the final whistle is a note on the match sheet
Its five steps are pills in the note's head. The results scale with their number:
one match fills the note, two share it, three or four are large rows. The day's
totals carry large pictures. Notes have no drop shadow, which drew a stray line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 21:55:29 +01:00
MichaelandClaude Fable 5.2 79b0a75c14 The match day is an open match sheet in front of a stadium that suits the crowd and the weather
The live view follows the new design: match cards with score tiles in the clubs'
colours, the ticker and the manager's team on two pages, speed as five buttons,
substitutions picked from two lists. The colours are the notebook's, so the skins
apply. Twenty-four stadium pictures are chosen by attendance and weather picture.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 21:23:27 +01:00
MichaelandClaude Fable 5.2 6a8d4084a5 Keep the goal banner for three minutes of play; cover the large card
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 22:13:29 +01:00
MichaelandClaude Fable 5.2 5b9a9109f1 The goal banner above its card, for every match that scores; more flags
The banner lay beneath the score board and clock and wrapped its score; it now lies
above them with crest, headline and score in one row, and each match that scores in
the running minute shows its own. Flags for Croatia, Senegal, Colombia, Canada, Korea,
Portugal, Argentina and further nations.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 21:59:26 +01:00
MichaelandClaude Fable 5.2 9b33e1f8c1 Carry the match day's score board into the review; minutes on the time line; depth on the desk
- The review after a match opens with the score board of the stage at its final whistle.
- The time line names its quarter hours; the repeated status under a running match is gone.
- Desk: cards and tiles cast a shadow and answer the pointer, the bar carries the
  club's colour along its foot, the club's name is set in the display serif.
- Settings: themes are called Mitternacht, Papier and Spieltag; two filler lines removed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 16:35:31 +01:00
MichaelandClaude Fable 5.2 9b5d448fb6 Paper windows, a display serif and chalk hand, a symmetric tactics board, the match day as a stage
- Material: menu windows are sheets of paper (warm surface, edge, two sheets beneath,
  serif headings) that slide in once when their menu opens; the desk stays glass.
  Source Serif 4 and Cabin Sketch ship in assets/modern/fonts (SIL OFL, see
  THIRD_PARTY_NOTICES.md); system fonts remain the fallback.
- Tactics board: 320 x 200 units mirrored about its middle - the pitch of the
  attitude on the left, six equal tiles for the play settings on the right with
  their names in chalk, the commitment with a scale across the foot.
- Live match: a 4:3 sheet like the menus (same window zoom) on the darkened stadium.
  One score board per match of a human manager - a full-width card for one match,
  two side by side, a 2 x 2 grid for three or four - with crests, a score plate in
  the clubs' colours (read from the crests), a clock ring, a pressure bar, and a
  time line of goals, cards and injuries. Compact ticker rows with a mark per kind,
  a goal banner on the card, a horizontal speed control, and optional halts at half
  time and when falling behind.
- QA: script command demo-start begins a demo career with 1-4 managers.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 16:15:11 +01:00
MichaelandClaude Fable 5.2 919342a5ae Give the six play settings of the tactics board an effect; draw the board in chalk
- Match engine (Modern turn driver only, MatchEngine::tactic_effects): wing play,
  through balls, goal kicks, flat or high balls, offside trap and pressing of a human
  side shift how often it and its opponent come to a chance (play_shift, at most two
  steps of the chance roll). Each setting pays in one situation and costs in another;
  pressing also raises the foul roll. No random numbers are drawn; computer sides and
  the Classic core are unchanged. Documented in docs/DIFFERENCES.md.
- The tactics read names the settings; desk and live dialog show every value in words
  with one sentence on its effect. The live dialog offers all eight settings again.
- The tactics board is a slate with a wooden frame, drawn in wobbling chalk strokes.
- modern_season_sim: SIM_TACTICS keeps a tactic set for measuring; new
  modern_play_shift_tests pin the direction of every setting.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 14:49:19 +01:00
MichaelandClaude Fable 5.2 9708b720b2 Show line-ups before kickoff, bind form and table widgets, rewrite the press wording
- Live ticker: the paused live state carries both starting elevens; the ticker lists
  them until the first report. A single match no longer gets an empty strip above the
  score, repeated status lines are gone, whistles carry no club badge, dates are
  written out.
- Desk: "Die letzten Spiele" and the table place curve are fed by the engine
  (desktop-widgets read: recent, rankCurve) and belong to the default layout; the own
  crest widget is bound.
- News: the German press templates are rewritten to one plain sentence each (the
  catalogue accepts a single sentence now); the reference snapshots follow, and the
  catalogue test can rewrite them with --update. Mailbox texts show world spellings
  of clubs and players and the euro sign.
- Small type raised in advertising, lineup, news, toto, transfer and others; the
  transfer market column no longer runs under its scrollbar.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 12:36:33 +01:00
MichaelandClaude Fable 5.2 bd20960f90 Offer only the tactics the match engine reads; suggest a change after an own injury
In a live match the tactics board shows the attitude and the commitment
with what they do; the play-pattern items have no effect on a match and
are not offered there. When an own starter is injured the match stops and
the strongest bench player of his position is offered as the change.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 12:01:17 +01:00
MichaelandClaude Fable 5.2 1732a2477b Liven up the match day: varied ticker wording, whistles, results of the day, eleven of the day
The ticker picks its sentence from several variants by the event's facts
and names equalisers, leads and late goals; kickoff, half time and the
final whistle are reported, with the same wording while the kickoff runs
live. The ticker's third tab lists the other results of the day. Modern
chooses an eleven of the day per league from the recorded match facts and
the review shows it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 11:34:47 +01:00
MichaelandClaude Fable 5.2 46cd93472f Trim the career's ticker, news, line-up and transfer wording; show world names in contracts
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 10:37:49 +01:00
MichaelandClaude Fable 5.2 f2dcf94d2b Start Modern managers with the assistant's attitude control; name live tactic values
A new Modern manager's assistant adapts the attitude to the score, as the
computer clubs do, until the manager sets it himself; an idle human club
no longer plays whole matches at the most defensive attitude (12-season
simulation: 1.40 instead of 1.12 goals per match, league average 1.44).
The live tactics board shows values in words, and refused live commands
are written to stderr.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 08:12:03 +01:00
MichaelandClaude Fable 5.2 a5810b15ae Play the Modern kickoff live: minute steps, substitutions and tactics from the ticker
A rehearsal (session.advance with dryRun) settles questions of the run
before the kickoff; an extension answered there is agreed at the player's
demand of that moment. With an own match the kickoff runs live: one
live.step per beat of the speed control, substitutions and the tactics
board through live.substitute and live.tactics, and leaving the ticker
plays the match to its end. After the final whistle the engine's recording
replaces the frames composed on the way. The paused live read names clubs
in the world's spelling, and the review table shows wins, draws and losses.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 00:49:51 +01:00
MichaelandClaude Fable 5.2 2d66609ca8 Show the post-match review of a played Modern kickoff
The review is built from the engine's recording; an engine career draws no
demo desk beneath it and returns to the real desk.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 00:14:44 +01:00
MichaelandClaude Fable 5.2 7c0e66affe Bind the kickoff of the Modern desk to the engine and show its recording in the ticker
The kickoff button sends session.advance; the engine's recording of the
played matchday is shaped for the live ticker (phases, per-match tables,
the desk manager's squad). A contract running out on the way asks the
manager to extend at the player's demand or to release him. The UI script
driver accepts optional clicks, and modern_live_dump writes the engine's
recording for inspection.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 00:05:04 +01:00
Codex 1fb6499b15 Retain live ticker controls during independent detail navigation (by Codex) 2026-10-27 21:03:45 +01:00
Codex b845bbfcbc Show attendance and weather before live ticker kickoff (by Codex) 2026-10-27 10:59:45 +01:00
Codex 3f1a44b320 Render Gold post-match pages from held read-only review data (by Codex) 2026-10-27 09:12:36 +01:00
Codex 8e3d9f83e0 Add a read-only native live-ticker demo with finite fixtures (by Codex) 2026-10-27 03:39:32 +01:00