Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 668 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 668 Bytes

Advent of Code 2024

Quickstart

  1. initialize solution files for day N.
npm run init -- --day=<N> --title="Puzzle Title"
  1. write solution functions—part1 and part2—in days/<N>/main.js.

  2. validate solution on test input.

npm run solve -- --day <N> --test
  1. solve on real input.
npm run solve -- --day <N>

Script Parameters & Flags

init:

  • day number: --day, -d
  • don't actually write init files to disk: --pretend, -p
  • puzzle title: --title, -t
  • log more (debug): --verbose, -v

solve:

  • day number: --day, -d
  • solve with test data: --test, -t