This repo houses my solutions for the advent of Code 2020 puzzles.
- composer
- php 7
- clone the repo & cd into the directory i.e
$ git clone https://github.com/tshiamobhuda/advent-of-code-2020.git
$ cd advent-of-code-2020
- use composer to install all dependencies
$ composer install
- run the aoc command in this fashion:
bin/aoc <day> [<part>]
where<day>
is the puzzle day &[<part>]
part is the puzzle part (part a or b) which is set toa
by default i.e:$ bin/aoc 1
will run day 1 part a$ bin/aoc 1 b
will run day 1 part b
- You can also use example input by passing the
-t
option to the command i.e$ bin/aoc 1 -t
will run day 1 part a with example input stored atsrc/Resources/test/day1.txt
- This project uses the
Symfony\Console
component