From 3c0206a20f02fde6715c272fc7320e3060e712aa Mon Sep 17 00:00:00 2001 From: Nick Krichevsky Date: Sat, 14 Dec 2019 20:43:18 -0500 Subject: [PATCH] Minor style fix to day 13 --- day13/py/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day13/py/main.py b/day13/py/main.py index c6c8660..359b4c1 100644 --- a/day13/py/main.py +++ b/day13/py/main.py @@ -231,7 +231,7 @@ def run_game(initial_memory_state: Memory, playable: bool = False) -> (DefaultDi if not playable: continue - if tile == tile.PADDLE: + if tile == Tile.PADDLE: paddle_position = (x, y) elif tile == Tile.BALL and paddle_position is not None: # Input 0 if the ball is above the paddle, move the paddle towards the ball otherwise.