Skip to content

Repository for the Advent of Code 2023 challenges

Notifications You must be signed in to change notification settings

andrewfitzy/2023-advent-of-code

Repository files navigation

Build status

2023-advent-of-code

This repo contains the solutions for my path of Advent of Code 2023. I complete AoC to get familiar with a technology, its build tools and testing tools, it's kind of a mini-production type workflow I follow.

In this year I chose to use the following tools:

  • TypeScript v5.2.2. Language for this years AOC solutions.
  • GTS v5.2.0. Prettifier and linter that uses prettier and eslint under the hood. Released by Google so will be around for a while.
  • Jest v29.7.0. Standard unit test framework.
  • Husky v8.0.0. Used for pre commit hooks.

All development was completed using Visual Studio Code which is an OK text editor, there are lots of useful plugins.

Setup

First we need to run install so that the dependencies are installed and husky is setup correctly.

$ npm install

Building

$ npm run compile

Testing

$ npm run test

Committing

The pre-commit hook should kick-in, when it does it will run GTS which lints and prettifies the code

$ git add --all
$ git commit -a

Progress

Challenge Task 1 Task 2
Day 01 Trebuchet?! 🌟 🌟
Day 02 Cube Conundrum 🌟 🌟
Day 03 Gear Ratios 🌟 🌟
Day 04 Scratchcards 🌟 🌟
Day 05 If You Give A Seed A Fertilizer 🌟 🌟
Day 06 Wait For It 🌟 🌟
Day 07 Camel Cards 🌟 🌟
Day 08 Haunted Wasteland 🌟 🌟
Day 09 Mirage Maintenance 🌟 🌟
Day 10 Pipe Maze 🌟 🌟
Day 11 Cosmic Expansion 🌟 🌟
Day 12 Hot Springs
Day 13 Point of Incidence 🌟 🌟
Day 14 Parabolic Reflector Dish 🌟 🌟
Day 15 Lens Library 🌟 🌟
Day 16 The Floor Will Be Lava 🌟 🌟
Day 17 Clumsy Crucible 🌟 🌟
Day 18 Lavaduct Lagoon
Day 19 Aplenty 🌟
Day 20 Pulse Propagation
Day 21 Step Counter
Day 22 Sand Slabs
Day 23 A Long Walk
Day 24 Never Tell Me The Odds
Day 25 Snowverload

About

Repository for the Advent of Code 2023 challenges

Resources

Stars

Watchers

Forks

Languages