Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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