Skip to content

My JavaScript (with TypeScript) solutions to the Advent of Code 2022

License

Notifications You must be signed in to change notification settings

stevospinks/advent-of-code-2022

Repository files navigation

Advent of Code 2022

My JavaScript (with TypeScript) solutions to the Advent of Code 2022

Based off LBognanni's Advent of code Typescript Starter

How to use

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

  • ▶ run npm run setup x from your terminal
  • 🌐 Visit https://adventofcode.com/2022/day/x/input and copy the contents in your inputs/dayx/input.txt file
  • 🔴 Update the example input and result in the test case in your .spec.ts file
  • 🟢 Implement the necessary logic in solveForPart1
  • 💪 TDD all the things!
  • 🔁 Do the same for part 2
  • npm test to run your tests
  • npm run start x to run the day's test
  • 🎉 Profit!

About

My JavaScript (with TypeScript) solutions to the Advent of Code 2022

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published