Skip to content

Astya965/AoC

Repository files navigation

AoC

Advent of Code 2022

Config

Npm config includes 3 parametrs:

  • setup: boolean - flag for adding template for specified day
  • date: number - day value
  • part: number - part value

Add new day

Command adds directory which contains empty files: input.txt, part1.ts, part2.ts. Required flags: --setup and --date

npm start --setup=true --date=1

Get result

Command returns solution. Required flags: --date and --part

npm start --date=1 --part=1

2022 list

  1. Day 1: Calorie Counting
  2. Day 2: Rock Paper Scissors
  3. Day 3: Rucksack Reorganization
  4. Day 4: Camp Cleanup
  5. Day 5: Supply Stacks
  6. Day 6: Tuning Trouble
  7. Day 7: No Space Left On Device
  8. Day 8: Treetop Tree House
  9. Day 9: Rope Bridge
  10. Day 10: Cathode-Ray Tube
  11. Day 11: Monkey in the Middle
  12. Day 12: Hill Climbing Algorithm
  13. Day 13: Distress Signal
  14. Day 14: Regolith Reservoir
  15. Day 15: Beacon Exclusion Zone
  16. Day 16: Proboscidea Volcanium
  17. Day 17: Pyroclastic Flow
  18. Day 18: Boiling Boulders
  19. Day 19: Not Enough Minerals
  20. Day 20: Grove Positioning System
  21. Day 21: Monkey Math
  22. Day 22: Monkey Map