This repo holds my solutions for Advent of Code. All years will be in here as well as all the years. As of now it is just 2015 (and 2021 archives) with TS but soon 2022 will also be added.
To use this template, first download it and install the dependency:
$ git clone --single-branch --branch template https://github.com/MauritsWilke/AdventOfCode.git
# Not required but adviced:
$ git branch -m main
$ npm i
Open it in any editor (Visual Studio Code recommended) and add a folder for the day you want to solve under its year (2015/04
). Copy the files from template
into the folder.
To run your solutions, make sure you compile first (npx tsc
) and then run node .
which will start the CLI.
If you have any questions on how to use the template, feel free to DM me on Discord: The Almighty One#3365
These are days with solutions I am ashamed of and want to improve on later 😅
- Check your input data, copy and paste it again.
- Check your hardcoded values, delete them and retype them.
- If you have a grid, check if the X and Y are correct in all cases