orfeasa / advent-of-code-2020

My solutions to the Advent of Code 2020 problems in Go πŸŽ„

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go Report Card

πŸŽ„ Advent of Code 2020 πŸŽ„

AoC2020 logo

Summary

Advent of Code is an annual Advent calendar of programming puzzles.

This year I am doing it in Go.

Running the code

To run the code of a specific day from the root directory run the following, replacing XX with the day number, 01 - 25:

go run day_XX/main.go

Make sure you have Go installed.

To run the code of all days run the script:

./run_all.sh

Make sure you have given permission to execute (chmod +x run_all.sh).

Overview

Day Name Stars
01 Report Repair ⭐⭐
02 Password Philosophy ⭐⭐
03 Toboggan Trajectory ⭐⭐
04 Passport Processing ⭐⭐
05 Binary Boarding ⭐⭐
06 Custom Customs ⭐⭐
07 Handy Haversacks ⭐⭐
08 Handheld Halting ⭐⭐
09 Encoding Error ⭐⭐
10 Adapter Array ⭐⭐
11 Seating System ⭐⭐
12 Rain Risk ⭐⭐
13 Shuttle Search ⭐⭐
14 Docking Data ⭐⭐
15 Rambunctious Recitation ⭐⭐
16 Ticket Translation ⭐⭐
17 Conway Cubes ⭐⭐
18 Operation Order ⭐⭐
19 Monster Messages ⭐⭐
20 Jurassic Jigsaw ⭐⭐
21 Allergen Assessment ⭐⭐
22 Crab Combat ⭐⭐
23 Crab Cups ⭐⭐
24 Lobby Layout ⭐⭐
25 Combo Breaker ⭐⭐

Linting

gofmt -s -w .
git ls-files | grep .go | xargs golint

About

My solutions to the Advent of Code 2020 problems in Go πŸŽ„

License:MIT License


Languages

Language:Go 99.8%Language:Shell 0.2%