diff options
author | C. Scott Ananian <cscott@laptop.org> | 2007-12-11 19:35:21 (GMT) |
---|---|---|
committer | C. Scott Ananian <cscott@laptop.org> | 2007-12-11 19:35:21 (GMT) |
commit | 9c3472a73727c28f3920ea950690f6275549eef6 (patch) | |
tree | 7f5bbf8c38166c263cdf53f9f55b5c9e4c35aecb /data | |
parent | 3b301f699767e42d8c926dc83eff16396f06075f (diff) |
Add text-color functions to console library; use them in 'jump' example.
Diffstat (limited to 'data')
-rw-r--r-- | data/graphics/jump | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/graphics/jump b/data/graphics/jump index be9b49e..f74ea71 100644 --- a/data/graphics/jump +++ b/data/graphics/jump @@ -2,6 +2,11 @@ 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 "_|_" |