Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as interview prep, company training, university coursework, practice problems, a speed contest, or to challenge each other.
To install the necessary dependencies for Aoc2k22, run the following command in the root directory of the project:
npm install
To run the program without specifying the day and star level as arguments, use the following command:
npm run start
To specify the day and star level as arguments, use the following command:
npm run start 1 2
This will start the program and automatically load the puzzle for day 1, star level 2.
,
>++
+++++
+[-<---
--->],[>+
+++++++[-<-
----->]<<[->+
+++++++++<]>>]<
[->+>+>>>>>>>+<<<
<<<<<<]>>>>++++++++
[-<++++>]>++++++[-<++
+++++>]+>>>++[-<+++++>]
<<<<<<[-[>.<-]<[-<+>>+<]<
[->+<]>>>>>[-<.>>+<]>[-<+>]
>.<<++<<<-<->]>>>>>>>-[-<<<<<
<.>>>
>>>]<
<<<<.
Ho ho ho and Merry Christmas! I hope you enjoy participating in Advent of Code 2022 and have fun solving the puzzles. May the holiday season bring you joy and cheer!