/advent-of-code

My solutions for Advent of Code

Primary LanguageTypeScript

Advent of Code

Yet another Advent of Code solution collection, written in TypeScript.

What is this?

My personal archive of solutions for Eric Wastl's Advent of Code puzzles.

This repo uses TypeScript + Heft + Jest for running solutions.

Usage

Run all solutions

This is a shortcut for heft test.

yarn test

Hack on one solution

This is a shortcut for heft test --watch --test-path-pattern 2021/03.

yarn dev 2020/03

Initialize a new puzzle

cp -r src/2021/template src/2021/02
yarn dev 2021/02