/advent-of-code-2023-anastasia

2023 Advent of Code solutions https://adventofcode.com/2023

Primary LanguageTypeScriptMIT LicenseMIT

Advent of code Typescript

My solutions for Advent of code `23 in Typescript.

How to use

Initial setup

  • npm install

For each day, where X is the day number (1-25):

  • run npm run setup X from your terminal
  • Visit https://adventofcode.com/{year}/day/X/input and copy the contents in your inputs/dayX/part1.txt file
  • Implement the necessary logic in solveForPart1
  • Do the same for part 2
  • npm run start X to run the day's test
  • npm test to run your tests
  • Profit! 🎉

Credits

Some code was liberally taken from https://github.com/stemmlerjs/simple-typescript-starter after some serious head-desking