diff --git a/render.py b/render.py index 3606adb..1e68916 100644 --- a/render.py +++ b/render.py @@ -53,7 +53,10 @@ class Renderer: return tilesInScene def render(self): - board = [["." for i in range(self.viewport[1])] for i in range(self.viewport[0])] + board = [ + ["." for i in range(self.viewport[1])] + for i in range(self.viewport[0]) + ] toRender = self.selectForRendering() @@ -75,4 +78,3 @@ class Renderer: for j in range(len(rendered)): buf.append(rendered[j][i]) print(''.join(buf)) -