2024(6): add an idea
This commit is contained in:
15
2024/06/part1.py
Normal file
15
2024/06/part1.py
Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user