Skip to content

jmugliston/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 Advent of Code 🎄

Project for AOC challenges and solutions.

Setup

Create a .env file with the following:

SESSION_TOKEN=<aoc-session-token>

Link the package locally:

npm link

CLI

Initialise a day:

aoc --init --day 1

Run a solution:

aoc --solve --day 1 --part 1

Submit a solution:

aoc --submit --day 1 --part 1

Test

Run tests with:

npm test

Benchmark

Run benchmarks with:

npm run benchmark

Puzzles

See below for a list of puzzles and solutions in this repo.

Year Day Puzzle Solutions
2021 01 Sonar Sweep Part 1 and 2
2021 02 Dive! Part 1 and 2
2021 03 Binary Diagnostic Part 1 and 2
2021 04 Giant Squid Part 1 and 2
2021 05 Hydrothermal Venture Part 1 and 2
2021 06 Lanternfish Part 1 and 2
2021 07 The Treachery of Whales Part 1 and 2
2021 08 Seven Segment Search Part 1 and 2
2021 09 Smoke Basin Part 1 and 2
2021 10 Syntax Scoring Part 1 and 2
2021 11 Dumbo Octopus Part 1 and 2
2021 12 Passage Pathing Part 1 and 2
2021 13 Transparent Origami Part 1 and 2
2021 14 Extended Polymerization Part 1 and 2
2021 15 Chiton Part 1 and 2
2021 16 Packet Decoder Part 1 and 2
2021 17 Trick Shot Part 1 and 2
2021 18 Snailfish Part 1 and 2
2021 19 Beacon Scanner TODO
2021 20 Trench Map Part 1 and 2
2021 21 Dirac Dice Part 1 and 2
2021 22 Reactor Reboot Part 1 and 2
2021 23 Amphipod TODO
2021 24 Arithmetic Logic Unit Part 1 and 2
2021 25 Sea Cucumber Part 1
2022 01 Calorie Counting Part 1 and 2
2022 02 Rock Paper Scissors Part 1 and 2
2022 03 Rucksack Reorganization Part 1 and 2
2022 04 Camp Cleanup Part 1 and 2
2022 05 Supply Stacks Part 1 and 2
2022 06 Tuning Trouble Part 1 and 2
2022 07 No Space Left On Device Part 1 and 2
2022 08 Treetop Tree House Part 1 and 2
2022 09 Rope Bridge Part 1 and 2
2022 10 Cathode-Ray Tube Part 1 and 2
2022 11 Monkey in the Middle Part 1 and 2
2022 12 Hill Climbing Algorithm Part 1 and 2
2022 13 Distress Signal Part 1 and 2
2022 14 Regolith Reservoir Part 1 and 2
2022 15 Beacon Exclusion Zone Part 1 and 2
2022 16 Proboscidea Volcanium Part 1 and 2
2022 17 Pyroclastic Flow Part 1 and 2
2022 18 Boiling Boulders Part 1 and 2
2022 19 Not Enough Minerals Part 1 and 2
2022 20 Grove Positioning System Part 1 and 2
2022 21 Monkey Math Part 1 and 2
2022 22 Monkey Map Part 1 and 2
2022 23 Unstable Diffusion Part 1 and 2
2022 24 Blizzard Basin Part 1 and 2
2022 25 Full of Hot Air Part 1
2023 01 Trebuchet?! Part 1 and 2
2023 02 Cube Conundrum Part 1 and 2
2023 03 Gear Ratios Part 1 and 2
2023 04 Scratchcards Part 1 and 2
2023 05 If You Give A Seed A Fertilizer Part 1 and 2
2023 06 Wait For It Part 1 and 2
2023 07 Camel Cards Part 1 and 2
2023 08 Haunted Wasteland Part 1 and 2
2023 09 Mirage Maintenance Part 1 and 2
2023 10 Pipe Maze Part 1 and 2
2023 11 Cosmic Expansion Part 1 and 2
2023 12 Hot Springs Part 1 and 2
2023 12 Hot Springs Part 1 and 2
2023 13 Point of Incidence Part 1 and 2
2023 14 Parabolic Reflector Dish Part 1 and 2
2023 15 Lens Library Part 1 and 2
2023 16 The Floor Will Be Lava Part 1 and 2
2023 17 Clumsy Crucible Part 1 and 2
2023 18 Lavaduct Lagoon Part 1 and 2
2023 19 Aplenty Part 1 and 2
2023 20 Pulse Propagation Part 1 and 2
2023 21 Step Counter Part 1 and 2
2023 22 Sand Slabs Part 1 and 2
2023 23 A Long Walk Part 1 and 2
2023 24 Never Tell Me The Odds Part 1 and 2
2023 25 Snowverload Part 1

About

Advent of code challenges.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published