dustin
/
aoc2021
Archived
1
0
Fork 0
Commit Graph

6 Commits (master)

Author SHA1 Message Date
Dustin 778342b2a2 Day 2, part 2 2021-12-02 23:10:43 -06:00
Dustin e9d49de28d Day 2, part 1 2021-12-02 23:08:32 -06:00
Dustin 733813e719 Add subcommands to main command
The main command now supports subcommands for the various puzzles.  The
first subcommand is `sonar`, for working with the sonar data from the
Day 1 puzzles.
2021-12-02 22:42:20 -06:00
Dustin 40f77c94ac Refactoring program to better multiple puzzles
Moved the logic for computing sonar depth increases out of the main
function into its own module.  Made the window size adjustable, with a
default size of 1, so the same program can answer both questions from
the Day 1 puzzle.
2021-12-02 22:32:59 -06:00
Dustin c378851aed Day 1, part 2 2021-12-01 20:25:11 -06:00
Dustin 3442af1c78 Day 1, part 1 2021-12-01 20:07:56 -06:00