Advent of Code Challenges for 2024 - https://adventofcode.com/2024
Typescript solutions configured with Bun as the Runtime
bun run-day.ts <#> # runs the file at ./challenges/day#/day#.ts
bun install <pkg> # install a package
bun build ./index.tsx # bundle a project for browsers
bun test # run tests
- Each challenge is split into a Day# folder, with the file main file in each day with the same name.
- See https://adventofcode.com/2024 for the challenge text and input files for each day.
- Input are expected in the ./input/day#Input.txt folder (not included in repo - see .gitignore)
- Helper methods (such as reading the input txt file) are in the ./challenges/helpers.ts file