Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vegeta897/advent-of-code

My solutions for the yearly Advent of Code challenge 🎄
https://github.com/vegeta897/advent-of-code

advent-of-code advent-of-code-2023 advent-of-code-2024 aoc aoc-2023 aoc-2024 bun

Last synced: 13 days ago
JSON representation

My solutions for the yearly Advent of Code challenge 🎄

Awesome Lists containing this project

README

        

# Advent of Code ⭐

This repo contains my solutions for Advent of Code 2023 and onward. It uses [Bun](https://bun.sh/)!

I didn't make a repo for 2021, but 2022 can be found [here](https://github.com/vegeta897/aoc2022)

## 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.

_Repo structure inspired by [itswil's template](https://github.com/itswil/advent-of-code/)_