public static void SolvePartTwo() { var memoryChallenge = new MemoryGame(InputList); var testResult = memoryChallenge.Play(30000000); Console.WriteLine(testResult); }
static void Day15() { MemoryGame m = new MemoryGame(); Console.WriteLine($@"Day 15 Part 1: {m.PlayGame( new List<int>(new int[] { 13, 16, 0, 12, 15, 1}), 2020)}"); Console.WriteLine($@"Day 15 Part 2: {m.PlayGame( new List<int>(new int[] { 13, 16, 0, 12, 15, 1 }), 30000000)}"); }