Files
advent-of-code-2023/advent_of_code/__init__.py
2023-12-16 16:44:55 -08:00

18 lines
422 B
Python

"My solutions to Advent of Code 2023"
__author__ = "Nettika <nettika@leaf.ninja>"
__version__ = "1.0.0"
from typing import Callable
from advent_of_code import cubes, trebuchet, gears
Solver = Callable[[str], int]
solvers: dict[int, tuple[Solver, Solver]] = {
1: (trebuchet.solve_part_1, trebuchet.solve_part_2),
2: (cubes.solve_part_1, cubes.solve_part_2),
3: (gears.solve_part_1, gears.solve_part_2),
}