Skip to content

jvancoillie/advent-of-code

Repository files navigation

PHP Tools to help resolving 'Advent of Code' puzzles

Commands :

bin/console puzzle:make

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

execute puzzle resolver :

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

Docker env

build docker-compose build
up docker-compose up -d
exec docker-compose exec advent bash

Make commands

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages