This repository contains solutions for Advent of Code. Feel free to compare these against your own implementations.
To set up a development environment, copy the contents of .env.example to .env in the root of the project. It should look as follows:
SESSION_SECRET="YOUR_AOC_SESSION_KEY"To get your input for a solution, run node aoc.js input <day> in the root of the project (only supported by AoC 2022 solutions).
To run the solutions for a day using your input, run node aoc.js run <day>.
To run solutions of other languages, navigate to the directory of the solution itself, and run it in the terminal using the respective command-line invokation. For example, if you wanted to run the solution to the first part of a day's solution:
node P1.js # JavaScript
py P1.py # Python
ruby P1.rb # RubyNOTE: Carriage returns on Windows are by default in CRLF. You must convert your input files to LF before running solutions.
