summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--14.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/14.py b/14.py
index 76c45ed..fa81fec 100644
--- a/14.py
+++ b/14.py
@@ -2,22 +2,6 @@ from utils import open_day, sliding_window
from enum import Enum, auto
from itertools import count
-def display(sandbox, minx, miny, maxx, maxy):
- for y in range(miny, maxy + 1):
- line = []
- for x in range(minx, maxx + 1):
- p = x, y
- if p in sandbox:
- if sandbox[p] == Tile.WALL:
- line.append('#')
- else:
- line.append('o')
- else:
- line.append('.')
- if x == 500 and y == 0:
- line[-1] = '+'
- print(''.join(line))
-
def point_from_str(s):
return tuple(int(d) for d in s.split(','))