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>
This commit is contained in:
1 parent
333bc57526
commit
1732a2477b
11 files changed
+288
-24
No files matched your search
@@ -12,6 +12,8 @@
|
||||
// goals, assists, cards per player in one competition,
|
||||
// of one season ("2026/27") or all seasons
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "cli/json.hpp"
|
||||
@@ -45,6 +47,14 @@ cli::Json query_statistics_screen(const ModernState& g, int manager, const cli::
|
||||
// score, chances, cards and players per match, the event lines, and the other matches of the
|
||||
// day as the conference. source: "engine-recording".
|
||||
cli::Json live_fixture(const ModernState& g, uint32_t after_date, uint32_t until_date, uint64_t revision);
|
||||
// Modern's eleven of the day per league with a human match in the kickoff (3-4-3), chosen from
|
||||
// the recorded facts of that league's matches; empty when a line is short of players.
|
||||
cli::Json team_of_the_day(const ModernState& g, uint32_t from_date, uint32_t until_date);
|
||||
// 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,
|
||||
const std::string& other, int detail, int minute, int home, int away,
|
||||
bool away_side);
|
||||
|
||||
// The press events of a team (contract team id) with from <= date <= until (ISO dates), derived
|
||||
// from the almanac and so the same on every read: match.result, cup.round_result /
|
||||
|
||||
Reference in new issue
Block a user