Skip to content

andre-brdoch/advent-of-code-2022

Repository files navigation

advent of code logo

⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐

advent-of-code-2022

My solutions for all 25 problems of the 2022 Advent of Code challenge. It was my first time participating, and I learned incredibly much!

Goals

  • Typescript
  • 0 dependencies used for solving the problems, only for tooling

Showcase

day 14 day 22 day 24

For many days, there are also automatically generated outputs, visualizing the problem along the way. Have a look into the respective environment folders, for example /day-22/test/output-1.txt.

Getting started

Node 18 needs to be installed.

# Install dependencies
npm i

# Run day 1
npm run day 1 -- --env=prod

# Run day 1 in watch mode
npm run watch-day 1 -- --env=prod

# Run day 1 with test inputs
npm run day 1 -- --env=test

# Print visualizations
npm run day 1 -- --env=prod --visualize=true

# Surpress terminal logs
npm run day 1 -- --env=prod --noLog=true

🎅 🎄 🎁 🎅 🎄 🎁 🎅 🎄 🎁 🎅 🎄 🎁 🎅 🎄 🎁 🎅 🎄 🎁

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published