Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moppius/advent-of-code
👨💻🎄 Repository for Advent of Code challenges - https://adventofcode.com/
https://github.com/moppius/advent-of-code
advent-of-code advent-of-code-2019 python
Last synced: about 4 hours ago
JSON representation
👨💻🎄 Repository for Advent of Code challenges - https://adventofcode.com/
- Host: GitHub
- URL: https://github.com/moppius/advent-of-code
- Owner: moppius
- License: mit
- Created: 2019-12-01T13:43:19.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-01T23:02:03.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T04:28:43.605Z (7 months ago)
- Topics: advent-of-code, advent-of-code-2019, python
- Language: Python
- Homepage:
- Size: 140 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 👨💻🎄 Advent of Code
Repository for Advent of Code challenges - https://adventofcode.com/# Prerequisites
- Some version of Python 3, probably
# How to run
All challenges are implemented as test-driven methods, and each day's challenge is a submodule that runs tests to check solution validity, then runs the code on the challenge input, which is usually stored in an *input.txt* file in that day's folder.
- To run all challenges for a given year, just run `python advent-of-code.py --year 2019` in the root of wherever you checked out this repository.
- To run a specific challenge, run `python advent-of-code.py --year 2020 --day 2` to run the 2020 Day 2 challenge, for example.If everything passes and runs, the solution output for the given challenge(s) will be printed to standard output.