cleanup
This commit is contained in:
parent
664266054c
commit
7c4f153f4f
@ -70,6 +70,8 @@ public static class Day2
|
||||
(decimalRegex, TokenType.DecimalLiteral),
|
||||
(identifierRegex, TokenType.Identifier),
|
||||
];
|
||||
|
||||
public static readonly GameSettings Settings = new(12, 13, 14);
|
||||
|
||||
public static async Task<int> ExecuteAsync(string filePath, GameSettings gameSettings)
|
||||
{
|
||||
|
@ -2,5 +2,5 @@
|
||||
|
||||
using AdventOfCode;
|
||||
|
||||
var day2Result = await Day2.ExecuteAsync("day2.txt", new Day2.GameSettings(12, 13, 14));
|
||||
var day2Result = await Day2.ExecuteAsync("day2.txt", Day2.Settings);
|
||||
Console.WriteLine($"Advent of code: Day 2 result: {day2Result}");
|
Loading…
Reference in New Issue
Block a user