My solutions to the Advent of Code challenges.
Find a file
2023-12-04 20:59:19 +00:00
.forgejo/workflows refactor(Day 3): updated Day 3 solution code 2023-12-04 13:10:03 +00:00
.github/workflows ci(github): specify the version of Go to use 2023-12-03 00:26:06 +00:00
2023 refactor(Day 1): Updated code structure for Day 1 2023-12-04 18:43:57 +00:00
go.mod Initial commit 2023-12-01 15:03:51 +00:00
LICENSE Initial commit 2023-12-01 15:03:51 +00:00
README.asciidoc feat: add a script for running the solutions 2023-12-04 20:59:19 +00:00
solve feat: add a script for running the solutions 2023-12-04 20:59:19 +00:00

Advent of Code

My solutions to the Advent of Code challenges in Go.

How to run the solutions

  1. Download and install Go if you dont have it installed already.

  2. The provided bash script can be used to run the solution to an AoC challenge.

    $ ./solve --help
    USAGE:
      ./solve [options]
    
    SUMMARY:
      Run the solution for the specified Advent of Code challenge
    
    OPTIONS:
      -h, --help:
        print this help message
    
      -y, --year:
        specify the year
    
      -d, --day:
        specify the day of the advent calendar
  3. Run the script specifying the year and the day of the advent calendar to view the result of that days challenge.

    ./solve --year 2023 --day 1