Skip to content

mjp2233/advent-of-code-2024

Repository files navigation

Advent of Code 2024

Advent of Code Challenges for 2024 - https://adventofcode.com/2024

Typescript solutions configured with Bun as the Runtime

Getting started

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

Structure

  • 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

About

Advent of Code Challenges for 2024

Resources

Stars

Watchers

Forks