Adventofcode 2020

Advent of code 2020 puzzles implemented in golang

Running

Go to https://adventofcode.com/2020 and sign up for your profile.

Each puzzle is in cmd/[x]/[x].go where x is the number of the puzzle. First retreive the input file for your account and put each input into the inputs file, numbering it by the puzzle number, with no file extension e.g. inputs/1 Execute go run cmd/1/1.go for example to execute the first puzzle. This will load the file inputs/1 and execute the puzzle solution code.

Puzzle 1

Solve for values equal 2020

status: ✔️ Working

TODO: Hardcoded value for input file and target, implement interface and help output using something more substantial like cobra or kingpin

Puzzle 2

Solve for the password database

status: ✔️ Working

Part 1

status: ✔️ Working

Part 2

status: ✔️ Working

Puzzle 3

Toboggan slope tree finder

Part 1

status: ✔️ Working

Part 2

status: ✔️ Working

Puzzle 4

Part1

status: ✔️ Working

Part2

status: ✔️ Working

Puzzle 5

Part1

status: ✔️ Working

Part2

status: ✔️ Working

Puzzle 6

Part1

status: ✔️ Working

Part2

status: ✔️ Working

Puzzle 7

Part1

status: ✔️ Working

Part2

status: ✔️ Working

Puzzle 8

Part1

status: ✔️ Working

Part2

status: ✔️ Working

Puzzle 9

Part1

status: ✔️ Working

Part2

status: TODO