I've completed "Rain Risk" - Day 12 - Advent of Code 2020 adventofcode.com/2020/day/12 #AdventOfCode Complex numbers for the win.
1
0
2
The Python deque makes tracking rotation a breeze. The first time I saw anyone using complex numbers to store coordinates was in #AdventOfCode 2018 and I've used it a few times since - it can be much simpler than maintaining separate x and y coordinates.
9:29 AM ยท Dec 12, 2020
0
0
1

