PHP Tools to help resolving 'Advent of Code' puzzles
Description: Create the input data and structure for a given puzzle event
Usage:
puzzle:make [options]
Options:
-y, --year=YEAR
the year of the event [default: "2020"]
-d, --day=DAY
the day of the event [default: "26"]
--no-data
use this option to disable input data fetching
Description:
Outputs the solutions of a Puzzles for a given event
Usage:
puzzle:resolve [options]
Options:
-y, --year=YEAR
the year of the event [default: "2020"]
-d, --day=DAY
the day of the event [default: "26"]
--test
If set, run with test input
build
docker-compose build
up
docker-compose up -d
exec
docker-compose exec advent bash
make resolve
Resolve current day
make resolve-test
Resolve current day with test input
make puzzle
Create structure and data for current day
make leaderboard
Create structure and data for current day