- NodeJS >= v14 : https://nodejs.org/en/
- Yarn: https://yarnpkg.com/getting-started/install
- Initiate the project by
yarn install
in the root directory - As the input files are not added to the git repository add them in the solution directory with the file name
input.txt
. Test input files can be added asinput.test.txt
. - Run the project with
yarn start
- The main
run.ts
file contains all the solution imports. You can use the boolean parameter to switch between the puzzle input and the test input.