Skip to content

Solutions to Advent of Code puzzles implemented in TypeScript

Notifications You must be signed in to change notification settings

resamsel/advent-of-code

Repository files navigation

🎄 Advent of Code 🎄

Solutions to Advent of Code puzzles written in TypeScript.

📥 Setup

npm install

🏃 Run

Load the project in your favourite IDE and execute the matching test. Alternatively you can run the tests on the CLI:

npm run test
Day Puzzle Solution Test
1 Calorie Counting day1.ts day1.spec.ts
2 Rock Paper Scissors day2.ts day2.spec.ts
3 Rucksack Reorganization day3.ts day3.spec.ts
4 Camp Cleanup day4.ts day4.spec.ts
5 Supply Stacks day5.ts day5.spec.ts
6 Tuning Trouble day6.ts day6.spec.ts
7 No Space Left On Device day7.ts day7.spec.ts
8 Treetop Tree House day8.ts day8.spec.ts
9 Rope Bridge day9.ts day9.spec.ts
10 Cathode-Ray Tube day10.ts day10.spec.ts
Day Puzzle Solution Test
1 Sonar Sweep day1.ts day1.spec.ts
2 Dive! day2.ts day2.spec.ts
3 Binary Diagnostic day3.ts day3.spec.ts
4 Giant Squid day4.ts day4.spec.ts
5 Hydrothermal Venture day5.ts day5.spec.ts
6 Lanternfish day6.ts day6.spec.ts
7 The Treachery of Whales day7.ts day7.spec.ts
8 Seven Segment Search day8.ts day8.spec.ts
9 Smoke Basin day9.ts day9.spec.ts
10 Syntax Scoring day10.ts day10.spec.ts
11 Dumbo Octopus day11.ts day11.spec.ts
12 Passage Pathing day12.ts day12.spec.ts
Day Puzzle Solution Test
1 Report Repair day1.ts day1.spec.ts
2 Password Philosophy day2.ts day2.spec.ts
3 Toboggan Trajectory day3.ts day3.spec.ts
4 Passport Processing day4.ts day4.spec.ts
5 Binary Boarding day5.ts day5.spec.ts
6 Custom Customs day6.ts day6.spec.ts
7 Handy Haversacks day7.ts day7.spec.ts
8 Handheld Halting day8.ts day8.spec.ts
9 Encoding Error day9.ts day9.spec.ts
10 Adapter Array day10.ts day10.spec.ts
11 Seating System day11.ts day11.spec.ts
12 Rain Risk day12.ts day12.spec.ts
13 Shuttle Search day13.ts day13.spec.ts
14 Docking Data day14.ts day14.spec.ts
15 Rambunctious Recitation day15.ts day15.spec.ts
16 Ticket Translation day16.ts day16.spec.ts