Skip to content
Snippets Groups Projects
Name Last commit Last update
src
.gitignore
.gitlab-ci.yml
README.md
pom.xml

Advent of Code 2023

This year will be in Java.

Requirements

  • Maven
  • Java SDK (21 here but it shouldn't matter)

Build and use

mvn verify -Day=1
mvn verify -Day=10
mvn verify

When no day is given, it assumes today.

From IntelliJ, you may run mvn verify via the Maven panel. Access the Maven panel via its button on the right top bar, or via View>Tool Windows.

Contributing

Write classes Day1, ..., Day10, ... that extend the abstract class Day. Most of your work should go to implement the methods String part1() and String part2().

The superclass Day provides a constructor to fetch the inputs day1.input1, ..., day10.input, ... from src/(main|test)/resources.