2024(6): add an idea

This commit is contained in:
2024-12-19 14:18:33 +01:00
parent 0e09b89f51
commit 906db5116e

15
2024/06/part1.py Normal file
View File

@ -0,0 +1,15 @@
def load_map(filename="input"):
with open(filename, "r") as fp:
data = fp.read
idee:
sla ook het kleine voorbeeld op
lees data in
maak object "kaart"
maak op object
show() (prints map to screen)
guard_directions = ["^", ">", "v", "<"]
guard_path = [] # list of tuples (x, y)