This repo contains my solutions for Advent of Code 2023 and onward. It uses Bun!
I didn't make a repo for 2021, but 2022 can be found here
To solve a new day, run bun run day {day}
or bun run day {year} {day}
. If the year is omitted, the current year will be used. If the day folder doesn't already exist, the contents of template
will be copied into it.
The test runner will then begin, in watch mode. Copy your puzzle input into input.txt
, and (un)comment lines in index.test.ts
as needed.
Answers will be logged to answers.log
in the day folder, for your own reference. Duplicate answers will be ignored.
Allow appending a,b,c to day
Repo structure inspired by itswil's template