This is my try on the Advent of code of 2021 challanges with Java!
I managed to complete 10 Days and got a total of 20 stars.
Main.java
: in this file you can find the main, that calls the days code. to call the right code, you need to add the right number here:
Days day = new DayX(reader.readInput("test.txt"));//exchange X for the number of the day
days
: the code for each day will be in the days folder as a.java
file. I usedDays.java
to create an Interface, that I then could implement every day to be faster in writing the code for every day.Inputs
: all my input data for each day is saved the inputs folder as a.txt
file. I also have atest.txt
file, that I use for the example input of each days puzzle.Reader.java
: This class helps to read the input data.