/advent_of_code

🎄 Advent of Code Solutions: Explore my solutions to the annual christmas challenges in this repository. Dive into code written in TypeScript for various year. 🎄

Primary LanguageTypeScript

🎄 Advent of Code Solutions 🎄

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.

About Advent of Code

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.

Participated Editions

Usage

Setup

  1. Clone this repository.
  2. Navigate to the cloned directory.
  3. Install dependencies:
npm install

Running Solutions

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

Running Tests

to run tests for specific solution, execute:

npm run advent-test -- <year> <day>

To run tests for all solutions, execute:

npm test