Advent of Code is an annual Advent calendar of programming puzzles.
This year I am doing it in Go.
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
).
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 | ⭐⭐ |
gofmt -s -w .
git ls-files | grep .go | xargs golint