Commit Graph
13 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 101273f777 The interested clubs fill a sheet of their own
The change of club is a far-reaching decision: the clubs are listed large
on the left, and the chosen one is shown on the right beside the manager's
own club - the team part by part, its places over the season, the cash,
the ground and the squad. Taking a club asks once more.

The read "assembly" reports lines, places, squad size and ground per club.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 13:38:21 +01:00
MichaelandClaude Fable 5.2 a2b9770d81 Annual general meeting and change of club
At the end of a season three groups of members vote on a human manager.
Below half of the votes he has to take over one of up to seven interested
clubs; the same list lets a manager leave on his own from the manager page.
The meeting is shown as a needle that swings between red and green and
comes to rest on the result.

Engine: assembly_vote, club_offers, change_club; read "assembly", command
manager.clubChange, field assembly of session.advance; saved in
state/modern.json. Dismissals are always on until the options offer them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 12:58:36 +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 3330dfb69c The seller decides on the bids for a player he listed
At the weekly deadline the original shows the seller the bids for a player
on the transfer list; without that screen every bid for a human seller was
declined, so a listed player could never be sold. session.advance now takes
transferOffers {playerId: {accept: index} | {action: "decline"}}: bids
without an answer take the run back and decision_pending carries them, as a
contract running out does. Only an interface that sends the field is asked,
so a client that does not know the question keeps the run it always had.

The notebook lists the bids with club, fee, salary and term; one is
accepted or all are declined, and the kickoff is sent again.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 14:54:48 +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 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 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 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 8e3d9f83e0 Add a read-only native live-ticker demo with finite fixtures (by Codex) 2026-10-27 03:39:32 +01:00