Skip to content

Commit

Permalink
Needed to add a very beautiful README.md now that this is public
Browse files Browse the repository at this point in the history
  • Loading branch information
Brecht Callens committed Dec 11, 2024
1 parent 18c4ec5 commit d14ec66
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Advent Of Code (2024)

## Setup

Steps to setup the project one can solve/run these tasks. Make sure to run on WSL or any Linux distro.

1. Run `npm install` once to install tsx.
2. Copy your advent of code copy from your browser console into a file called `.session-cookie` to autofetch the inputs.

## Code

Run the following code for each new day.

1. Run `./setup.sh <day_nr>` to copy a template and the input into directory `day<day_nr>`.
2. Manually copy or fill in some input in the generated `example_input` file.
3. Open the `solve.ts` and solve it!
4. Run `npm run solve` to solve the input file and `npm run solve example` for the example input.

0 comments on commit d14ec66

Please sign in to comment.