Skip to content

My solutions for the yearly Advent of Code challenge 🎄

License

Notifications You must be signed in to change notification settings

vegeta897/advent-of-code

Repository files navigation

Advent of Code ⭐

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

How to use

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.

TODO

Allow appending a,b,c to day

Repo structure inspired by itswil's template