Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/graphics/pong
diff options
context:
space:
mode:
Diffstat (limited to 'data/graphics/pong')
-rw-r--r--data/graphics/pong4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/graphics/pong b/data/graphics/pong
index 351f7ce..0ce3a9e 100644
--- a/data/graphics/pong
+++ b/data/graphics/pong
@@ -5,7 +5,7 @@
# on the XO, the escape key is the top lefthand key,
# circle with an x in it.
-import sys,pygame
+import pippy, pygame, sys
from pygame.locals import *
from random import *
@@ -50,7 +50,7 @@ textRect = text.get_rect()
textRect.centerx = screen.get_rect().centerx
textRect.centery = screen.get_rect().centery
-while 1:
+while pippy.pygame.next_frame():
# display msg
screen.fill(bgcolor)