Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gma/adventofcode-2020-day12
The 12th Advent of Code exercise from 2020
https://github.com/gma/adventofcode-2020-day12
advent-of-code advent-of-code-2020 kata
Last synced: 24 days ago
JSON representation
The 12th Advent of Code exercise from 2020
- Host: GitHub
- URL: https://github.com/gma/adventofcode-2020-day12
- Owner: gma
- Created: 2021-08-18T11:51:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-14T21:44:03.000Z (11 months ago)
- Last Synced: 2023-12-14T23:10:55.346Z (11 months ago)
- Topics: advent-of-code, advent-of-code-2020, kata
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The "Rain Risk" Coding Problem
This is the result of my test-driven attempt at the problem set on the [12th day] of Advent of Code in 2020. I shan't try and explain it here; for context you'll want to [read the AoC explanation][12th day].
[12th day]: https://adventofcode.com/2020/day/12
## Usage
To run the tests:
python test_rainrisk.py
To run the code itself, on an input file containing one instruction per line:
python rainrisk.py