From 3d74cef701dcd14f5c385975c224062efe7f2485 Mon Sep 17 00:00:00 2001 From: hyoungnam <31942413+kimhyoungnam@users.noreply.github.com> Date: Sat, 2 Dec 2017 23:47:52 +0900 Subject: [PATCH] =?UTF-8?q?60155347=20=EA=B9=80=ED=98=95=EB=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- effects.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/effects.py b/effects.py index c5d251e..b444294 100644 --- a/effects.py +++ b/effects.py @@ -338,8 +338,12 @@ def run(self): # Display upper and lower case letters. The break between 90 and 97 is # for non-letter keyboard characters. + + for ord in range(65, 91) + range(97, 123): - self.wall.clear() + KHN = [75, 72, 78] + for ord in KHN : + self.wall.clear() # Set every pixel to the background color, since ascii8x8 will only # color an 8x8 section. @@ -352,7 +356,7 @@ def run(self): x_offset, y_offset) self.wall.draw() time.sleep(.1) - + time.sleep(1) class Bouncer(Effect): class Ball(object): def __init__(self, wall): @@ -409,7 +413,7 @@ def run(self): ball.advance() self.wall.draw() time.sleep(.1) - + class Message(Effect): message = [ ' ',