35 [[
nodiscard]] std::expected<void,std::string> save(
const std::array<HistoryEntry,100>&
entries);
36 std::filesystem::path path_;
37 std::array<HistoryEntry,100> entries_{};
38 std::string preserved_;
39 bool winnerProcessed_{};
const std::array< HistoryEntry, 100 > & entries() const noexcept
bool configured() const noexcept
std::expected< void, std::string > gameStarted(std::span< const HistoryPlayer > players)
std::vector< HistoryEntry > highScores() const
std::vector< std::wstring > names() const
std::expected< void, std::string > gameOver(std::wstring_view name, int worth, int aiLevel)
std::expected< void, std::string > open(std::filesystem::path path)