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>
This commit is contained in:
1 parent
9006b7a05d
commit
8f607a9d89
13 files changed
+444
-9
No files matched your search
@@ -53,6 +53,12 @@ cli::Json team_of_the_day(const ModernState& g, uint32_t from_date, uint32_t unt
|
||||
// The last `count` recorded matches of a club (world club id), oldest first: each
|
||||
// {form: "S"|"U"|"N", score: "own:other", opponent, home}. A shoot-out counts for its winner.
|
||||
cli::Json recent_results(const ModernState& g, const std::string& club_id, size_t count);
|
||||
// A club's running season read from the almanac, for charts: every match (opponent, score,
|
||||
// attendance), goals by quarter of an hour, goal kinds, chances and their conversion, cards,
|
||||
// the home and away records, who scored first and what came of it, the club's scorers, the
|
||||
// points after each league match beside the league's average, and the final ranks of the
|
||||
// finished seasons. Counts only: nothing is drawn and nothing the season core reads changes.
|
||||
cli::Json club_analysis(const ModernState& g, const std::string& club_id);
|
||||
// The ticker's headline and sentence for one event (kind as AlmanacEventKind); `home`/`away` is the
|
||||
// score after it. Deterministic: the variant follows from the event's facts.
|
||||
std::pair<std::string, std::string> ticker_phrase(int kind, const std::string& team, const std::string& who,
|
||||
|
||||
Reference in new issue
Block a user