Remove extra debugging code

Signed-off-by: AKU <tom@tdpain.net>
This commit is contained in:
akp 2021-12-11 10:40:55 +00:00
parent 6a47ee7439
commit fe94dab3d6
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -14,16 +14,6 @@ def parse(instr: str) -> Cave:
return o return o
def print_cave(cave: Cave):
max_x = max(x for x, y in cave)
max_y = max(y for x, y in cave)
for y in range(max_y + 1):
for x in range(max_x + 1):
print(cave[(x, y)], end="")
print(flush=True)
print()
def get_adjacent_points(point: Point) -> List[Point]: def get_adjacent_points(point: Point) -> List[Point]:
x, y = point x, y = point
return [ return [