-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Needed to add a very beautiful README.md now that this is public
- Loading branch information
Brecht Callens
committed
Dec 11, 2024
1 parent
18c4ec5
commit d14ec66
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |