From 9c3472a73727c28f3920ea950690f6275549eef6 Mon Sep 17 00:00:00 2001 From: C. Scott Ananian Date: Tue, 11 Dec 2007 19:35:21 +0000 Subject: Add text-color functions to console library; use them in 'jump' example. --- (limited to 'data') 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 "_|_" -- cgit v0.9.1