cameron-martin / advent-of-code

My solutions to Advent of Code in TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code

Usage

yarn install
yarn solve 2018 1 # Solve day 1 of year 2018

This prints out answers to both parts - one per line.

Style

I have optimised for maintainability first. Although this is not a useful property since they never have to be modified, usually this is not the case so I am using this as practise.

Just for fun, I have used no libraries to solve these (except for testing, io and of course typescript - writing those would be very time consuming). I have, however, extracted a shared library of code to use between puzzles.

About

My solutions to Advent of Code in TypeScript


Languages

Language:TypeScript 99.7%Language:Shell 0.2%Language:JavaScript 0.1%