Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/graphics/jump
blob: 7e4d4331b928d83b24794d1f768b38b3f4165647 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import pippy

for i in xrange(0, 50):
    pippy.console.clear()
    if i < 25:
        pippy.console.red()
    else:
        pippy.console.blue()

    # Note that we have to escape backslashes
    print '\\o/'
    print '_|_'
    print '   '
    pippy.wait()

    pippy.console.clear()
    print '_o_'
    print ' | '
    print '/ \\'
    pippy.wait()

    pippy.console.clear()
    print ' o '
    print '/|\\'
    print '| |'
    pippy.wait()

    pippy.console.clear()
    print '_o_'
    print ' | '
    print '/ \\'
    pippy.wait()