This repository provides a simple template for solving Advent of Code problems using TypeScript and Node.js.
- Clone this repository:
git clone git@github.com:Holly-Tech-AB/aoc-templates.git
- Install dependencies:
npm install
- Solve Advent of Code problems:
- Create a folder for each day's problem in the
src/
directory. - Implement the
solve
function in theindex.ts
file for each day. - Run the solution for a specific day using:
npm start dayX
Replace X
with the day number you want to run.
- Add your input files:
- Place input files for each day in the respective folders (
src/dayX/input.txt
).
- Customize the project as needed and have fun solving Advent of Code challenges!