This repository contains my solutions for the Advent of Code programming challenges. Each year and day have their own solution files and input data.
To get started with this project, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/nycofox/adventofcode.git
-
Install the project dependencies:
composer install
-
Run the advent command to execute the solutions for the Advent of Code challenges. You must provide the year and day as arguments.
./advent 2023 1
-
To set up template files for a new daily solution, execute the command below. You need to specify both the year and the day as arguments. Executing this command accomplishes two things:
- It creates a new directory uniquely for the specified year and day.
- It generates template files for both the solution and input files within this new directory.
./advent-create 2023 1