Skip to content

Crystalskulls/Advent-of-Code-Java-Solutions

Repository files navigation

Advent of Code Java Solutions

This repository contains Java solutions for the Advent of Code puzzles. Advent of Code is an annual coding event that features a series of programming puzzles released daily in the days leading up to Christmas.

Requirements

  • Java 21
  • Maven 3.7.0

Compiling the Project

To compile the project, make sure you have Java 21 and Maven 3.7.0 installed. Then, navigate to the project root directory and run the following command:

mvn clean install

This will compile the project and create an executable JAR file.

Usage

To run the project, use the following command:

java -jar advent-of-code-1.0-SNAPSHOT.jar

Options

  • -d, --day <day>: Solve the puzzle of the specified day.
  • -y, --year <year>: Solve puzzles for the specified year.

Example

To solve the puzzle for Day 1 of the year 2023, use the following command:

java -jar advent-of-code-1.0-SNAPSHOT.jar -d 1 -y 2023

Feel free to explore and adapt the provided Java solutions for the Advent of Code challenges! If you encounter any issues or have suggestions, please open an issue or submit a pull request. Happy coding!

About

Java solutions for the Advent of Code puzzles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages