Commit Graph
81 Commits
Author SHA1 Message Date
MichaelandClaude Fable 5.2 1ec8295c84 A listed player can be taken off the market again
transfer.submit {action: withdraw, playerId} ends the manager's own list
entry as it ends without a buyer. The transfer market's first button does
it for a listed player.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 14:02:17 +01:00
MichaelandClaude Fable 5.2 112b8492d9 The interested clubs show the squad's age and the last league matches
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 13:44:37 +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 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 abbd4afe70 Formations can be used and saved in the line-up
The read "lineup" states the manager's eight formations (four given, four
of his own) and the one in use; "lineup.setFormation" uses one, the
assistant placing the eleven on it, or keeps the places as they stand as
one of the own formations. The line-up page shows them as small pitches
behind "Aufst.".

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 17:27:41 +01:00
MichaelandClaude Fable 5.2 7424b09738 Poaching in two steps: the club is asked and names its price, then the offer is made
transfer.submit takes three more actions. poach runs the original's checks
and start_poach on a player of another club; where an offer can be made the
offer editor stays open and the answer carries what the club asks and the
bounds the editor accepts. poachOffer is decided at once, poachCancel
closes the editor. The attempt counts from the first step, as in the original.

The transfer market's Abwerben opens the clubs of a league, reads the
chosen club's squad, asks before the attempt is spent and then shows the
club's demand with the offer to be written.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 15:26:03 +01:00
MichaelandClaude Fable 5.2 a2790751a6 The four instructions of a starter can be set in the line-up
The read lineup states the instructions of every starter (board bytes
+2..+5) and lineup.setOrder sets one through set_player_order_source.
Anweis. in the line-up shows them for the chosen starter with the
original's four arrows; each is moved in steps of 1 or 5.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 15:01:21 +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 92555b9ba0 The takers of free kicks, penalties and corners can be named in the line-up
The read lineup states the three takers (setPieces; null is the assistant's
choice) and the new command lineup.setPiece names one or hands all three
back, through the game's own set_pitch_set_piece_taker_source and
auto_pitch_set_piece_takers_source. In the line-up, Schütze opens the three
cards; a card is chosen and the next click on a player names him.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 14:25:04 +01:00
MichaelandClaude Fable 5.2 205e98973b A running loan can be changed and repaid: the credit read states what a booking costs at once
The read of a loan carries charge: the fees and, for a running loan of the
bank, the interest adjustment that commit_bank_credit books. With it the
page offers the fields of a running loan as well; a backend that does not
state the charge keeps them closed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 13:32:45 +01:00
MichaelandClaude Fable 5.2 f25abc2e16 Bank: a larger ring, the stocks without a picture, today's interest as a note
The ring of the bank page is drawn larger and carries the shares and the
sum in its middle. The stocks page begins with its list. The passbook has
a pencilled note of the interest of a year; the bank read states the rates,
derived from the rule that books the interest each day. The office building
has a picture of its own.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 08:15:06 +01:00
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