- Copy
.env.example
to.env
and populate vars
- Copy
template.js
to n.js where n = day number e.g.1.js
- Create n-example.txt (e.g.
1-example.txt
) with example input from that day's puzzle description - Write code for part 1
- Run src/n.js (e.g.
node src/1.js
) to run part 1 with the example input - Once this gives the correct answer, update
solve
function to run with real input - Enter result on AOC site and if correct rinse and repeat for part 2