adventofcode

module
v0.0.0-...-3a50b2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2023 License: GPL-3.0

README

Table of Contents

adventofcode

Solutions to Advent of Code puzzles.

Development

Setup dev environment
  1. Install gofumpt for improved code formatting.
  2. Install golangci-lint for code linting.
  3. Install pre-commit to run linters before commit.
Prepare to work with the project
  1. Install pre-commit hooks by running:
    pre-commit install
    
Run solutions from sources
  1. Get your puzzle input and put it into folder of particular solution, e.g. 2023/1/input.txt.

  2. Run the solution:

    go run 2023/1/main.go
    
Other commands

To get full list of available commands run:

make help

License

Copyright (c) 2023 Alexander Kurbatov

Licensed under the GPLv3.

Directories

Path Synopsis
2019
1
--- Day 1: The Tyranny of the Rocket Equation --- https://adventofcode.com/2019/day/1
--- Day 1: The Tyranny of the Rocket Equation --- https://adventofcode.com/2019/day/1
2
--- Day 2: 1202 Program Alarm --- https://adventofcode.com/2019/day/2
--- Day 2: 1202 Program Alarm --- https://adventofcode.com/2019/day/2
2023
1
--- Day 1: Trebuchet?! --- https://adventofcode.com/2023/day/1
--- Day 1: Trebuchet?! --- https://adventofcode.com/2023/day/1
2
--- Day 2: Cube Conundrum --- https://adventofcode.com/2023/day/2
--- Day 2: Cube Conundrum --- https://adventofcode.com/2023/day/2
3
--- Day 3: Gear Ratios --- https://adventofcode.com/2023/day/3
--- Day 3: Gear Ratios --- https://adventofcode.com/2023/day/3
4
--- Day 4: Scratchcards --- https://adventofcode.com/2023/day/4
--- Day 4: Scratchcards --- https://adventofcode.com/2023/day/4
5
--- Day 5: If You Give A Seed A Fertilizer --- https://adventofcode.com/2023/day/5
--- Day 5: If You Give A Seed A Fertilizer --- https://adventofcode.com/2023/day/5
6
--- Day 6: Wait For It --- https://adventofcode.com/2023/day/6
--- Day 6: Wait For It --- https://adventofcode.com/2023/day/6
7
--- Day 7: Camel Cards --- https://adventofcode.com/2023/day/7
--- Day 7: Camel Cards --- https://adventofcode.com/2023/day/7
8
--- Day 8: Haunted Wasteland --- https://adventofcode.com/2023/day/8
--- Day 8: Haunted Wasteland --- https://adventofcode.com/2023/day/8
9
--- Day 9: Mirage Maintenance --- https://adventofcode.com/2023/day/9
--- Day 9: Mirage Maintenance --- https://adventofcode.com/2023/day/9
internal
--- Day DAY: Title --- https://adventofcode.com/YEAR/day/DAY
--- Day DAY: Title --- https://adventofcode.com/YEAR/day/DAY

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL