namespace AdventOfCodeLibrary._2022 { using AdventOfCodeLibrary._2022.Day02; using AdventOfCodeLibrary.Shared; public class Day02Part2 : IAnswerable { public int Year { get; set; } = 2022; public int Day { get; set; } = 2; public int Part { get; set; } = 2; public string GetAwner(byte[] data) { GameRules.BuildWinDrawLoseTable(); return ByteHelper.GetAsStringArray(data) .Select(GameRules.GetScore) .Sum() .ToString(); } } }