advent-of-code/aoc_utils/constants.py

13 lines
152 B
Python
Raw Permalink Normal View History

2023-12-23 15:28:25 +01:00
arrows_dir ={
'^': (-1, 0),
'v': (1, 0),
'<': (0, -1),
'>': (0, 1)
}
cardinal_dir = [
(1, 0),
(-1,0),
(0, 1),
(0, -1)
]