Commit Graph
256 Commits
Author SHA1 Message Date
MichaelandClaude Fable 5.2 ff8068ea11 Marketing pays less; the forecast and the highscore know the new rules
Seen in a career on level 4, international marketing brought more than its
budget after two months: a point of reach is now worth 900 euros in the
first league instead of 1600 (lower leagues accordingly). The monthly
forecast of the advertising page includes the stadium sponsor, marketing,
rents and the further stages, and the highscore counts the four further
properties.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 19:36:23 +01:00
MichaelandClaude Fable 5.2 af677a735d Modern's own rules keep the books and write to the mailbox
Naming rights, marketing, the further properties and the stages now fill
items of the balance sheet (other income, public relations, rents,
periphery, other expenses). The manager gets a note in his mailbox when he
sells the stadium's name, when that contract ends, when a stage is
finished, after the annual general meeting and after a change of club.

The live demo QA driver is marked as not yet ported to the notebook.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 19:23:34 +01:00
MichaelandClaude Fable 5.2 dfe8a43440 The stadium model shows the stages of lounge and periphery
Clubhouse and shopping centre grow a storey per stage, the car park grows
along the road, the restaurant gets a second storey and the lounge a wider,
second row of glass. A crane stands while a stage is built. The card of a
building names its stage, what it brings and what the next one costs, and
orders it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 19:09:27 +01:00
MichaelandClaude Fable 5.2 8be27f8e57 The lounge and four buildings of the periphery can be extended in stages
Once it stands, the V.I.P. lounge goes up to four stages, the shopping
centre and the clubhouse to three, the car park to four, the restaurant to
two. A stage costs money and months of building and then brings a monthly
income by league. The stadium page lists them under "Ausbaustufen".

Engine: expansions.hpp, stadium read expansions, command stadium.expand;
saved in state/modern.json.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 18:47:23 +01:00
MichaelandClaude Fable 5.2 57b8b0f371 Four further properties at the bank; the tactics sketch sits a little higher
Town house, penthouse, estate house and old terraced house join the six
properties of the original: bought and sold at the day's price, moving by
a few percent every month and paying a monthly rent. The property board
shows all ten.

Engine: estates.hpp, bank read funds fund:6-9, bank.commit trades them;
saved in state/modern.json.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 17:18:31 +01:00
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 7b3f52d809 International marketing: a monthly budget builds up reach abroad
The reach grows over a year or two towards what the budget holds, falls
faster when the budget is cut, and brings income every month by league and
prestige. The investments page sets the budget and shows reach and income.

Engine: marketing.hpp, read advertising.internationalMarketing, command
marketing.commit; saved in state/modern.json. Also fixes the monthly amount
on the naming rights tile, which was shown a hundredth too small.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 16:33:10 +01:00
MichaelandClaude Fable 5.2 97acf0d74d Document the stadium name of the live read
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 15:09:22 +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 83bd96c1ff A bid on a listed player can be taken back
transfer.submit {action: withdrawBid, listingId} removes the manager's bid
before the seller decides. The orders list of the transfer market does it
with its delete button.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 14:13:33 +01:00
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 c83b020952 The tactics sketch in a pencil hand: Caveat, under the SIL Open Font License
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 18:13:33 +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 eec7f40a52 A player's card with figures and skills; shirts in the club's colour; table zones; reduced motion
The card shows age, strength, condition, technique and form as numerals, the seven
skills as marks and contract and status as a list. The line-up pitch draws shirts in
the club's colour with a condition dot instead of the data set's figures. League
tables carry the prediction's European places and the promotion and relegation
places. A display setting turns transitions off. The desk hangs from the top edge of
a taller screen.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 18:43:40 +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 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 78f45fb188 Build and package Dreierpack Manager for macOS arm64
A workflow builds the dreierpack target on Apple Silicon, runs the
synthetic interface checks and uploads a package with the program, the
interface assets, licences and a start script. The world and the image
resources are copied in by the player.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 08:53:01 +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 9e92d07b03 Port overflow fixes for daily interest and dividends; pay Modern dividends per manager
Daily interest and share dividends are computed in 64 bits before the
division (ported from OpenBMH 1.0.3). In Modern each manager now receives
the dividend of his own shares instead of the original's lost booking.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 23:47:09 +01:00
Codex f0979455d1 Record completion of the public repository split and archival (by Codex)
Build without game data / build (linux-x64, ubuntu-24.04) (push) Waiting to run
Build without game data / build (macos-arm64, macos-14) (push) Waiting to run
Build without game data / build (windows-x64, windows-2022) (push) Waiting to run
OBW Editor / editor (linux-x64, ubuntu-24.04) (push) Waiting to run
OBW Editor / editor (macos-arm64, macos-14) (push) Waiting to run
OBW Editor / editor (windows-x64, windows-2022) (push) Waiting to run
2026-10-30 18:20:20 +01:00
Codex 11796beeaa Record verified historical release asset migration (by Codex) 2026-10-30 16:55:26 +01:00
Codex a4187191dc Import the secured game, modern interface and editor history (by Codex) 2026-10-30 16:08:43 +01:00
Codex 6f98f894f2 Use native arrow cursors for game surfaces and controls (by Codex) 2026-10-29 22:54:24 +01:00
Codex 012612b06f Align bank picture interactions with the supplied illustration (by Codex) 2026-10-29 21:57:22 +01:00
Codex cf424b6be1 Bind native manager actions and preserve ongoing Modern standings (by Codex) 2026-10-29 21:24:49 +01:00
Codex f9f950fc7f Use actual league names in settings groups and search (by Codex) 2026-10-29 20:15:30 +01:00
Codex 3a1242650f Document the remaining native session ownership gaps (by Codex) 2026-10-29 19:23:31 +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
Codex d30e83c0a5 Render authoritative indoor surfaces and substitution pairs in native lineups (by Codex) 2026-10-29 15:35:24 +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 50541207eb Clarify original paired indoor lineup semantics (by Codex) 2026-10-29 14:30:19 +01:00
Codex 9a3763dc11 Record the winter lineup integration gap for the engine handoff (by Codex) 2026-10-29 14:26:24 +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 256d6d5211 Bind the tablet to real mailbox states and engine press events (by Codex) 2026-10-29 11:20:49 +01:00
Codex 0fc26624d9 Keep mailbox flags safe and no-op updates unchanged (by Codex) 2026-10-29 10:21:32 +01:00