Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riimu/adventofcode2021
My PHP solutions for puzzles in Advent of Code 2021.
https://github.com/riimu/adventofcode2021
advent-of-code advent-of-code-2021 php
Last synced: about 2 months ago
JSON representation
My PHP solutions for puzzles in Advent of Code 2021.
- Host: GitHub
- URL: https://github.com/riimu/adventofcode2021
- Owner: Riimu
- License: mit
- Created: 2021-12-01T13:33:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-02T20:26:03.000Z (about 3 years ago)
- Last Synced: 2023-03-11T10:27:13.056Z (almost 2 years ago)
- Topics: advent-of-code, advent-of-code-2021, php
- Language: PHP
- Homepage:
- Size: 361 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2021 solutions
This repository contains my solutions for the [Advent of Code 2021](https://adventofcode.com/2021/).
The solutions have been written with using the PHP programming language. I
generally try to avoid uploading solutions to the puzzles until the next one has
been released in order encourage people to come up with their own solutions
first.Overall, my intention in Advent of Code 2021 has been to explore strict statically
typed PHP. The idea is to provide solution for each puzzle and conform to the
strictest static analysis levels of both Psalm and PHPStan.## Usage
To list all the implemented tasks (i.e. solutions) run
```shell
./bin/console task:list
```To run a specific task, use the following command
```shell
./bin/console task:run []
```Where `` is one of the codes provided by the aforementioned task list,
e.g "1-1", and the `` option is the file to use for input
(otherwise, the default provided in the repository is used).## Copyright
Copyright (c) 2021 Riikka Kalliomäki