Skip to content
๐ŸŽ„Advent of Code 2018 ๐ŸŽ„
TypeScript
Branch: master
Clone or download
Fetching latest commitโ€ฆ
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
day1
day10
day11
day12
day13
day14
day15
day16
day17
day18
day2
day3
day4
day5
day6
day7
day8
day9
.gitignore
LICENSE.md
README.md
package.json
tsconfig.json
yarn.lock

README.md

๐ŸŽ„ Advent of Code 2018 ๐ŸŽ„

A repo for my solutions to the 2018 edition of Advent of Code. I'm using TypeScript.

What is Advent of Code?

From the website:

"Advent of Code is an Advent calendar of small programming puzzles
for a variety of skill sets and skill levels that can be solved in
any programming language you like. People use them as a speed
contest, interview prep, company training, university coursework,
practice problems, or to challenge each other."

I'm in a friendly competition for this year with some of my co-workers at CCRi.

Solutions by day

Running my solutions

I used ts-node for a REPL and also to execute the TypeScript files, usually console.log()'ing the answers. To do the same, run:

git clone https://github.com/jdk2pq/adventOfCode2018.git
cd adventOfCode2018
npm install #assumes you have a reasonably recent version of node and npm installed
cd {dayYouWantToRun}
ts-node {partYouWantToRun}.ts

Each day also has a README in the directory with commands to run the code.

If my solutions are awful...

...teach me how to do things better! ๐Ÿ˜ƒ I welcome any and all feedback/criticism/critiques/helpful notes/anything really!

The code in this repo is not cleaned up at all, nor attempting to be the most efficient as possible. It's just me trying to quickly code up a solution to get to the correct answer, since the amount of points I get on the leaderboard corresponds with how quickly I answer the problem.

Also, to co-workers, friends, family, recruiters?: this is not an accurate representation of how my code at my job looks. It's actually much better than my code at work. (just kidding ๐Ÿ˜†)

License

MIT License. Copyright (c) 2018 Jake Kenneally.

Really, just feel free to use and remix as you want. I don't need credit, but it'd be awesome if you gave it!

You canโ€™t perform that action at this time.