Solutions to Advent of Code puzzles written in TypeScript.
📥 Install dependencies using npm
:
npm i
🏃 Run a solution using ts-node
:
# 2021 day 1 puzzle
ts-node src/2022/day01
ℹ️ ️node v14+
is required.
Day | Puzzle | Solution |
---|---|---|
1 | 🍫 Calorie Counting | day01.ts |
2 | 🪨 Rock Paper Scissors | day02.ts |
3 | 🎒 Rucksack Reorganization | day03.ts |
4 | 🏕 Camp Cleanup | day04.ts |
5 | 🏗 Supply Stacks | day05.ts |
6 | 📡 Tuning Trouble | day06.ts |
7 | 📟 No Space Left On Device | day07.ts |
8 | 🌳 Treetop Tree House | day08.ts |
9 | 🪢 Rope Bridge | day09.ts |
10 | 📺 Cathode-Ray Tube | day10.ts |
11 | 🐒 Monkey in the Middle | day11.ts |
12 | ⛰️ Hill Climbing Algorithm | day12.ts |
13 | 📦 Distress Signal | day13.ts |
14 | ⏳️ Regolith Reservoir | day14.ts |
15 | 📡 Beacon Exclusion Zone | day15.ts |
16 | 🌋 Proboscidea Volcanium | day16.ts |
17 | 🪨 Pyroclastic Flow | day17.ts |
18 | 🫖 Boiling Boulders | day18.ts |
19 | 🤖 Not Enough Minerals | day19.ts |
20 | 🌳 Grove Positioning System | day20.ts |
Day | Puzzle | Solution |
---|---|---|
1 | 📡 Sonar Sweep | day01.ts |
2 | 🤿 Dive! | day02.ts |
3 | 🩺 Binary Diagnostic | day03.ts |
4 | 🦑 Giant Squid | day04.ts |
5 | ⛲ Hydrothermal Venture | day05.ts |
6 | 🐟 Lanternfish | day06.ts |
7 | 🐋 The Treachery of Whales | day07.ts |
8 | 7️⃣ Seven Segment Search | day08.ts |
9 | 💨 Smoke Basin | day09.ts |
10 | 🔣 Syntax Scoring | day10.ts |
11 | 🐙 Dumbo Octopus | day11.ts |
12 | 🚧 Passage Pathing | day12.ts |
13 | 🦢 Transparent Origami | day13.ts |
14 | ⚗ Extended Polymerization | day14.ts |
15 | 🐚 Chiton | day15.ts |
16 | 📦 Packet Decoder | day16.ts |
17 | 🎯 Trick Shot | day17.ts |
18 | 🐌 Snailfish | day18.ts |
19 | 🔦 Beacon Scanner | day19.ts |
20 | 🗺 Trench Map | day20.ts |
21 | 🎲 Dirac Dice | day21.ts |
22 | ⚛ Reactor Reboot | day22.ts |
23 | 🦐 Amphipod | day23.ts |
24 | 🧮 Arithmetic Logic Unit | day24.md |
25 | 🥒 Sea Cucumber | day25.ts |
Day | Puzzle | Solution |
---|---|---|
1 | 🛠 Report Repair | day01.ts |
2 | 🔑 Password Philosophy | day02.ts |
3 | 🛷 Toboggan Trajectory | day03.ts |
4 | 🛂 Passport Processing | day04.ts |
5 | 🛫 Binary Boarding | day05.ts |
6 | 🛃 Custom Customs | day06.ts |
7 | 👜 Handy Haversacks | day07.ts |
8 | 🕹 Handheld Halting | day08.ts |
9 | 🔢 Encoding Error | day09.ts |
10 | ⚡ Adapter Array | day10.ts |
11 | 💺 Seating System | day11.ts |
12 | ⛴️ Rain Risk | day12.ts |
13 | 🚌 Shuttle Search | day13.ts |
14 | 💾 Docking Data | day14.ts |
15 | 🧝 Rambunctious Recitation | day15.ts |
16 | 🎫 Ticket Translation | day16.ts |
17 | 🧊 Conway Cubes | day17.ts |
18 | 🧮 Operation Order | day18.ts |
19 | 👹 Monster Messages | day19.ts |
20 | 🐉 Jurassic Jigsaw | day20.ts |
21 | 📋 Allergen Assessment | day21.ts |
22 | 🗡 Crab Combat | day22.ts |
23 | 🦀 Crab Cups | day23.ts |
24 | 🏨 Lobby Layout | day24.ts |
25 | 🌟 Combo Breaker | day25.ts |