This repository contains my solutions for Advent of Code challenges implemented in TypeScript. Each folder for a specific year contains its own README.md
file summarizing the status of solved tasks for that year.
Advent of Code is an annual online event created by Eric Wastl. Starting on December 1st, it presents an advent calendar of small programming puzzles that participants solve using their programming skills and creativity. Each day unveils a new challenge, fostering problem-solving and coding abilities.
- Clone this repository.
- Navigate to the cloned directory.
- Install dependencies:
npm install
Use the following command to run a solution for a specific day and year:
npm run advent -- <year> <day>
Replace and with the desired year and day numbers, respectively.
Example:
npm run advent -- 2023 1
npm run advent -- 2023 2
to run tests for specific solution, execute:
npm run advent-test -- <year> <day>
To run tests for all solutions, execute:
npm test