diff options
Diffstat (limited to 'data/graphics/jump')
-rw-r--r-- | data/graphics/jump | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/data/graphics/jump b/data/graphics/jump index db7c347..ed08950 100644 --- a/data/graphics/jump +++ b/data/graphics/jump @@ -1,14 +1,10 @@ -# From C. Scott Ananian -# both of these functions should be in the 'basic' package or some such def clear_scr(): - print '\x1B[H\x1B[J' # clear screen, the hard way. + print '\x1B[H\x1B[J' # clear screen + def wait(): import time time.sleep(0.1) -# jumping man! -# having to escape the backslash is rather unfortunate -# i didn't have to do that in C64 BASIC for i in xrange(0,50): clear_scr() print "\\o/" @@ -33,4 +29,3 @@ for i in xrange(0,50): print " | " print "/ \\" wait() - |