🎄 My solutions for Advent of Code
Set the COOKIE_SESSION
environment variable to download input files if not found locally.
# Run given day (if current date is between 1. december and 25. december)
node index.js
# Run first day of current year
node index.js 1
# Run first day of 2022
node index.js 2022 1
# Rerun on file change
npm run dev
- Day 1: Trebuchet?!
- Day 2: Cube Conundrum
- Day 3: Gear Ratios
- Day 4: Scratchcards
- Day 5: If You Give A Seed A Fertilizer
- Day 6: Wait For It
- Day 8: Haunted Wasteland