Skip to content

Panda4817/advent-of-code-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2023 - Java

Create solution

  • Add a class for the day you are completing named 'Day<day_number>'
  • Make sure class implements Day interface
  • Add puzzle input as a text file in resources directory named '<day_number>.txt'
  • Add a private data field of chosen type
  • Add tests
  • Add a constructor that runs processData method given an input file name
  • Implement processData, part1 and part2 methods of class

Build

  • mvn clean install

Run

  • mvn exec:java -Dexec.arguments=<day_number>
  • day_number corresponds to the particular day in December that you want to run puzzles for

Test

  • mvn test run all tests
  • mvn test -Dtest=<test_class_name> run specific test class

Releases

No releases published

Packages

No packages published

Languages