repositorypackage
0.0.0-20241221023757-5a9537fdad08
Repository: https://github.com/markwatson/advent_2024.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
Advent of Code 2024
Repository to contain solutions to Advent of Code 2024. All super rough code - written in golang just for fun to experiment. This code uses many bad practices.
This repository contains spoilers for Advent of Code problems (obviously).
Setup
You just need go 1.23 installed.
Usage
Running a day
go run main.go 1 example
Note the input files are not included since they're unique to each user and they ask not to share them. You can register and download them at the site.
Create data files for each day
./scripts/mk-data-dir.sh
Adding days
./scripts/add-day.sh 1
Then update ./pkg/day/days.go
to call the new day.
The whole "days" setup I created seems kinda messy and pointless... It works though, so I'm using it for now.