// SPDX-License-Identifier: GPL-3.0-only // Interface of the computer tip score function implemented in source_tip.cpp. It consumes // GameRandom draws, including the final goal-cap draw, and touches no GameState. #pragma once #include #include #include "game/random.hpp" namespace bmh { // ComputeLeagueTableForecast's pure score arithmetic after the caller has obtained the four // QuoteNationalFriendlyMatch ratings. Each invocation consumes the same G draws, including // the final goal-cap draw that terminates the loop. uint8_t source_tip_result(GameRandom& game, const std::array& gap, int home_rating, int away_rating, int home_secondary, int away_secondary); } // namespace bmh