Categorygithub.com/licorice-vector/advent-of-code-2024
repository
0.0.0-20250123001224-9bfa0d714500
Repository: https://github.com/licorice-vector/advent-of-code-2024.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Advent of Code 2024

Welcome to my solutions for Advent of Code 2024! This repository contains solutions written in Go.

šŸŽ„ About Advent of Code

Advent of Code is an annual coding event where participants solve daily programming puzzles during the month of December. Each day provides a new challenge, ranging in difficulty, often requiring creative problem-solving and algorithmic thinking.

šŸš€ Getting Started

Prerequisites

  • Go: Ensure you have Go installed. You can download it from golang.org.
  • Git: Clone the repository using Git.

Installation

  1. Clone the repository:

    git clone https://github.com/licorice-vector/advent-of-code-2024.git
    cd advent-of-code-2024
    
  2. Install dependencies (if any):

    go mod tidy
    

Running a Solution

Each day's solution is in its own directory under ./days/dayXX/. To run a solution:

go run days/day01/solution.go days/day01/main.go

Testing

To run the tests for a specific day:

go test ./days/day01/

šŸ“‚ Project Structure

advent-of-code-2024/
ā”œā”€ā”€ days/
│   ā”œā”€ā”€ day01/
│   │   ā”œā”€ā”€ main.go           # Main code
│   │   ā”œā”€ā”€ example_test.go   # Test of the example
│   │   ā”œā”€ā”€ solution.go       # Solution for Day 1
│   │   ā”œā”€ā”€ input.txt         # Input data for Day 1
│   │   └── example.txt       # Example input for testing
│   └── dayXX/                # Solutions for subsequent days
ā”œā”€ā”€ .gitignore                # Ignored files and directories
ā”œā”€ā”€ go.mod                    # Go module file
ā”œā”€ā”€ go.sum                    # Dependencies
└── README.md                 # Project documentation

šŸ›  Tools & Libraries

  • Go: The primary programming language.
  • VS Code: Recommended editor with Go extensions for debugging and linting.

šŸŽÆ Goals

  • Solve all 25 puzzles (or as many as possible).
  • Write clean, maintainable, and efficient Go code.
  • Explore new algorithms and data structures.

šŸ“… Progress

DayPart 1Part 2
Day 1āœ…āœ…
Day 2āœ…āœ…
Day 3āœ…āœ…
Day 4āœ…āœ…
Day 5āœ…āœ…
Day 6āœ…āœ…
Day 7āœ…āœ…
Day 8āœ…āœ…
Day 9āœ…āœ…
Day 10āœ…āœ…
Day 11āœ…āœ…
Day 12āœ…āœ…
Day 13āœ…āœ…
Day 14āœ…āœ…
Day 15āœ…āœ…
Day 16āœ…āœ…
Day 17āœ…āœ…
Day 18āœ…āœ…
Day 19āœ…āœ…
Day 20āœ…āœ…
Day 21āœ…āœ…
Day 22āœ…āœ…
Day 23āœ…āœ…
Day 24āœ…āœ…
Day 25āœ…ā­

🌟 Acknowledgments

Thanks to Eric Wastl for creating Advent of Code and providing an amazing way to challenge ourselves each year.

šŸ“œ License

This project is licensed under the MIT License. See the LICENSE file for details.