Record every match in a football almanac (Modern, M8)
Modern careers keep every match they play: season, date, competition type, league or cup stage, matchday, both clubs by world id with their human managers, result with extra time and shoot-out, referee, attendance, weather, both line-ups and all events (goals with assists and kind, misses, cards, injuries, substitutions, shoot-out kicks). Events come from the group event log the engine keeps for every match, substitutions from the players on the pitch after each minute; nothing draws random numbers (a 60-turn Modern run is unchanged). Player indices reused for a new person get a new stable id. Saves hold finished seasons as immutable history/season-<year>.bin files plus the running season; modern-state@1.1 adds league names and the id counter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
57d75ab2f5
commit
201eef88e4
14 files changed
+935
-8
No files matched your search
@@ -1167,6 +1167,9 @@ add_test(NAME quit_confirmation_unit_tests COMMAND quit_confirmation_unit_tests)
|
||||
add_executable(modern_camp_tests tests/modern_camp_tests.cpp)
|
||||
target_link_libraries(modern_camp_tests PRIVATE bmh_season_modern)
|
||||
add_test(NAME modern_camp_tests COMMAND modern_camp_tests)
|
||||
add_executable(modern_almanac_tests tests/modern_almanac_tests.cpp)
|
||||
target_link_libraries(modern_almanac_tests PRIVATE bmh_season_modern)
|
||||
add_test(NAME modern_almanac_tests COMMAND modern_almanac_tests)
|
||||
|
||||
add_executable(modern_calendar_tests tests/modern_calendar_tests.cpp)
|
||||
target_link_libraries(modern_calendar_tests PRIVATE bmh_season_modern)
|
||||
|
||||
Reference in new issue
Block a user