Mercurial > sypikslang
changeset 28:2f7d8f908de0
Better REPL client.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sun, 06 May 2012 19:45:01 +0200 |
parents | 4d9610c59efa |
children | 355aa7592492 |
files | gamelib/tests/repl_game.py |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gamelib/tests/repl_game.py Sun May 06 19:28:15 2012 +0200 +++ b/gamelib/tests/repl_game.py Sun May 06 19:45:01 2012 +0200 @@ -11,7 +11,11 @@ self.display_state() def display_state(self): + print "-" * 50 + print "Repute:", self.game.reputation + print "Moneys:", self.game.money print "Points:", self.game.points + print "" print "Science:" self.science = [] for science in self.game.lab.science: @@ -21,6 +25,10 @@ len(self.science), science.NAME, science.points) else: print " -- %s (%s)" % (science.NAME, science.points) + print "" + print "Missions:" + print " * Coming soon!" + print "-" * 50 def next_turn(self, research_list, missions): assert not missions, "Missions not currently supported."