Commit Graph
69 Commits
Author SHA1 Message Date
MichaelandClaude Fable 5.2 8f607a9d89 A club analysis in the statistics: the season as charts; larger trophies
The engine counts the manager's club's running season from the almanac (read
"analysis"): matches, the points course beside the league's pace, records by venue,
what the first goal decided, goals by quarter of an hour, scorers and goal kinds. The
statistics open with it; the archive tables keep their place with larger type and
trophies.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 23:10:50 +01:00
MichaelandClaude Fable 5.2 e3edd2f9ed The bank's services as sheets with charts and readings
Every service has the house's head and tabs to the others. The overview shows the
club's wealth as a ring by where it lies and the stock market's change per company;
stocks carry a spark line, the change on the day before, the course with a five-day
average, high and low, and a reading of trend and swing; properties compare the six
prices. Stocks and properties are named in full by the bank read: the company from the
game's texts, the property from its stem and singular ending. Soft shadows inside
windows are gone, they drew stray lines in the Direct3D renderer.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 20:24:52 +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 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 1de09ba8a6 Reduce the career's game options to the ones that matter; keep leagues in a running game
The game page of a Dreierpack career offers five options (winter
postponements and their cap, indoor tournaments, the two transfer-news
switches). The cells of the original's presentation, the multi-player and
autosave cells and the switches that take leagues out of a running game are
no longer shown, and settings.commit refuses them. The sound page and the
marking automation are hidden in a career. A mailbox text cut inside a
multi-byte character no longer breaks the news read. modern_live_dump can
commit options and reports their effect.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 09:32:01 +01:00
MichaelandClaude Fable 5.2 fee03624be Answer a live intervention only after it has run
The kickoff thread moved the posted task out before running it, so the
waiting command could read the outcome too early and refuse a substitution
or tactic change (without a reason) that was then applied anyway. The task
stays posted until it has finished.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 08:21:18 +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 6970dfa20a Take a rehearsed kickoff back completely
A rehearsal (and a kickoff refused for a pending question) now also returns
the turn driver and the managers' desks; before, the desk and the matches
played ran one step apart after a rehearsal. The contract tests rehearse
three kickoffs and check that the desk reads as before and that the
announced fixture is the one played; modern_live_dump can rehearse, play
live and report the announced and the played fixture per kickoff.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 08:03:41 +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 cf424b6be1 Bind native manager actions and preserve ongoing Modern standings (by Codex) 2026-10-29 21:24:49 +01:00
Codex 98cff2185d Bind original settings and automation to atomic native drafts (by Codex) 2026-10-29 18:52:41 +01:00
Codex 0842cb3458 Connect native indoor standings to real season points and extend CI coverage (by Codex) 2026-10-29 16:27:59 +01:00
ClaudeandClaude Opus 5.5 179843700a Modern UI contract: indoor surface and substitution pairs in the line-up read
The lineup read now passes on the prepared match context: surface
(indoor during the indoor tournament, rebuilt from the cup groups when a
save is loaded), durationMinutes and starterCount (always eleven). The
first eleven's pairs come from the board's partner byte (+0x3f) as
stored: pairs lists rows that name each other, every position carries
its partnerId. Nothing is cut or relabelled; lineup.commit keeps owner,
order and pairs (checked at the winter indoor tournament). Refs #27.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 14:56:15 +01:00
Codex dc911f3281 Populate native desktop status, fixture and news widgets from the session (by Codex) 2026-10-29 13:58:57 +01:00
Codex fd5c2b5330 Bind native balance planning and restore its saved runtime value (by Codex) 2026-10-29 13:32:10 +01:00
Codex 0fc26624d9 Keep mailbox flags safe and no-op updates unchanged (by Codex) 2026-10-29 10:21:32 +01:00
Codex 9101770614 Show recorded manager achievements and career history (by Codex) 2026-10-29 10:04:52 +01:00
ClaudeandClaude Opus 5.5 179cd970ad Modern UI contract: mailbox messages and news.update
The news read carries the desk manager's mailbox as the contract's
messages with ids that survive the original's compaction. news.update
marks a message read or unread, moves it to the trash and back (saved
marks; the message stays in the original mailbox) and archives it as the
original's keep.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 09:16:57 +01:00
ClaudeandClaude Opus 5.5 c361dccd34 Modern UI contract: national line-up and tactics
The national coach's desk reads the national team's line-up and tactics
(the original's desk has them) instead of no_club, and lineup.commit
prepares the national board without the clubs' designated set-piece
extension, whose records the national team has not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 09:11:04 +01:00
Codex 1e88304019 Bind the transfer market to world-relative Modern data (by Codex) 2026-10-29 09:00:21 +01:00
Codex 0edf208405 Bind stadium construction and historical data to scoped engine offers (by Codex) 2026-10-29 06:09:10 +01:00
Codex dfb972abbd Bind the six-column Toto coupon to reviewed engine costs and settlement (by Codex) 2026-10-29 04:44:07 +01:00
Codex eb140cdb1c Bind native statistics to recorded careers and correct cup winners (by Codex) 2026-10-29 03:35:43 +01:00
Codex ce1535fe2d Create real careers from the native wizard and preserve manager presentation (by Codex) 2026-10-29 01:11:41 +01:00
Codex 622973c2cf Bind player negotiations and release cancelled contract quotes (by Codex) 2026-10-28 12:57:40 +01:00
ClaudeandClaude Opus 5.5 d3ea650c07 Modern live ticker: crowd and weather before the kickoff
The recording's ticker matches and the paused live kickoff's matches
carry attendance and weather (temperature, the original's weather
picture; none indoors), as the interface asked in issue 15.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 19:06:38 +01:00
ClaudeandClaude Opus 5.5 d6d31f939d Modern UI contract: the end of the game
Resigning as the only or last human ends the game as the end of the set
duration does: the highscore hook updates and shows the table. The end's
reason and date are saved; the session read follows the contract's
Session schema (archived managers, termination reason, ownership, mode),
managers become archived (resigned or retired) and their employments end
with the career. The resign answer carries the ownership change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 18:39:32 +01:00
ClaudeandClaude Opus 5.5 055b48697e Modern press journal: promotion, advertising, credit, stadium
The season change notes a human club's promotion or relegation; the
confirmed commands note an advertising contract, a loan taken or paid
off and a planned stand expansion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 18:27:26 +01:00
ClaudeandClaude Opus 5.5 651d262546 Modern UI contract: press journal for business events
Business events cannot be derived from the almanac later, so a saved
journal notes them once: squad changes of the human clubs at a kickoff
(signed, free, sold, contract ended; clubs compared by identity across
the season's new draw positions), toto settlements, season change,
contract renewals and resigning. The news read merges it with the
almanac events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 18:22:50 +01:00
ClaudeandClaude Opus 5.5 d943494ef4 Modern UI contract: national friendlies
At the national coach's desk the friendly read quotes a match against
another nation on a copy of the Watcom generator (price, payer, ratings,
free dates); friendly.book draws the same ratings and books it. The
opponent bound of the national quote follows the world layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 14:24:47 +01:00
ClaudeandClaude Opus 5.5 6e400d708c Modern UI contract: live table in the paused kickoff
live_league_table is shared by the recording and the paused live state;
a paused league match now reports its league with the running scores.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 14:09:04 +01:00
ClaudeandClaude Opus 5.5 eb5c5d6211 Modern UI contract: live table in the ticker
Each live frame carries the league tables of the ticker's matches: the
table before the matchday plus every match of that round at the frame's
minute, the final whistle using the recorded result. Frames carry only
changed tables; a single frame read gets the full standing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:59:02 +01:00
ClaudeandClaude Opus 5.5 74c1504e3a Modern UI contract: bank credits
The credit read previews the loan dialog (bank or another human lender)
with per-field bounds, fees and refund; bank.commit action credit books
the same edits. The bank read now points to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:55:28 +01:00
ClaudeandClaude Opus 5.5 06445c24ef Modern UI contract: scheduling, friendlies and rescheduling
The scheduling read lists the own league matches that can be moved with
their target dates and the moved ones; the friendly read quotes a friendly
against a club with its free dates. friendly.book books it (the payer
accepts the cost, a human opponent consents), fixture.reschedule moves a
league match or takes a move back. All without random draws.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:51:35 +01:00
ClaudeandClaude Opus 5.5 f2c895ffb0 Modern UI contract: environment read and environment.commit
The surroundings of Diamond 3.6: three youth teams, co-trainer, doctor and
physio with their monthly budget level and cost, the youth teams' strength,
place and league. environment.commit sets a level 0-6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:44:25 +01:00
ClaudeandClaude Opus 5.5 abbba65a81 Modern UI contract: stand block expansion
quote.request {kind: block, blockId, places, seats?, roof?} builds the stand
block editor's draft (target places, then seats and roof one at a time) and
stadium.commit confirms it with or without the tip, or cancels it. The
stadium read shows the quote with its breakdown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:42:26 +01:00
ClaudeandClaude Opus 5.5 dc3ecc3a8a Modern UI contract: resigning ends the career of the last human manager
manager.resign.commit with confirmed true ends the career when the last
human manager resigns (outcome career_ended, sessionState ended, every later
command answers career_ended). Resigning while other humans play needs every
per-manager table moved up a slot and answers resign_not_supported_yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:38:58 +01:00
ClaudeandClaude Opus 5.5 7c5030ca4b Modern UI live: the events so far while a live matchday stands still
read_live during a pause lists each live match's goals, misses, cards and
injuries so far from the group's log, as the almanac reads it at the end.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:36:37 +01:00
ClaudeandClaude Opus 5.5 822331f045 Modern UI contract: live matchdays with interventions
session.advance {live: true} runs the kickoff on its own thread and stops at
the minutes of a live match of a human manager (not at a voided one).
live.step plays on, live.substitute and live.tactics act as the original's
pitch and tactics screens during a match (open, change, close) on the
kickoff thread, live.finish plays the day to its end. Other commands answer
live_running meanwhile, read_live reports the minute and the live scores.
A missing contract decision rolls the whole live day back. Also: the
recording takes matches up to the day the kickoff ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:21:43 +01:00
ClaudeandClaude Opus 5.5 10a8f0b881 Modern UI contract: postmatch read
The after-match steps of the last kickoff: every match of it, the matches of
human managers for the report, the Sportschau's eleven of the day as the
engine chooses it (captured during session.advance, only with its replay
option), and the current tables of the day's leagues.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:08:08 +01:00
ClaudeandClaude Opus 5.5 0046ab90d0 Modern: the traffic access has four stages
The Modern interface shows four stages for the traffic access, the original
has three. A Modern world (WorldLayout::traffic_stages = 4) keeps the
condition byte in steps of 64 (64, 128, 192, 255) and offers a build up to
stage 3; every stage weighs as one original stage. New careers convert the
original start table, older Modern saves are converted on load
(traffic_scale). Classic data keeps three stages; the Classic equivalence is
unchanged. Also: the live ticker takes the matches from the desk day on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:53:31 +01:00
ClaudeandClaude Opus 5.5 fda4b72967 Modern UI: the live ticker replays the last kickoff's matches
ModernSession::read_live answers the ticker's fixture and frame queries with
the engine's recording of the last session.advance: the matches of human
managers with their owners, frames in minute order (kickoff, every event,
half time, the end) with score, chances, cards and players on the pitch, the
event lines, and the day's other matches as the conference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:37:37 +01:00
ClaudeandClaude Opus 5.5 1400848387 Modern UI contract: transfer read and transfer.submit
The transfer read lists the transfer list with asking fee, salary reference,
offers and the own bid, and the own squad. transfer.submit lists an own
player (or offers him for loan) or bids through the original's offer editor
(open, set fee, salary and years, submit); the outcome tells accepted,
pending or rejected. The open editor is part of the rollback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:32:44 +01:00
ClaudeandClaude Opus 5.5 43317985e4 Modern UI contract: toto and exclusive sponsor reads and commands
toto and sponsor reads in the envelope (amounts as Money), toto.submit with
up to six columns and sponsor.answer for a camp's exclusive sponsor offer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:29:25 +01:00
ClaudeandClaude Opus 5.5 e6bc72d3a0 Modern UI contract: building in the stadium (periphery and facilities)
The original's stadium dialog in two commands: quote.request opens it and
gets the building firm's offer (periphery) or selects a facility and levels;
stadium.commit builds - facilities with or without the tip for faster
building - or declines, and closes the dialog. The stadium read shows the
open offer; a refused command also restores the dialog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:23:06 +01:00
ClaudeandClaude Opus 5.5 6386c891b5 Modern UI contract: stadium read and ticket.commit
The stadium read lists the periphery (the traffic access with its stage),
the eight facilities with their level, the eight stand blocks and the ticket
price, with the original names. ticket.commit sets the admission price.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:19:52 +01:00
ClaudeandClaude Opus 5.5 4372e6b78a Modern UI contract: advertising read, advertising.accept and budget.commit
The advertising read lists boards, shirt and TV rights with their contract and
open offers, the three budgets and the finance preview. advertising.accept
takes an offer by id, budget.commit sets a budget, both through the desk's
own checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:16:51 +01:00
ClaudeandClaude Opus 5.5 f71f072774 Modern UI contract: running-out contracts during session.advance
The original asks for a running-out contract in the middle of the calendar.
session.advance takes the answers in contractExpiry (renew with years and
salary, or release); a contract without an answer rolls the run back and
decision_pending names the player, the interface asks and sends the advance
again. The test plays two seasons of kickoffs answering every request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:15:04 +01:00