summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Armstrong <jeff@approximatrix.com>2013-07-27 15:22:00 -0400
committerJeff Armstrong <jeff@approximatrix.com>2013-07-27 15:22:00 -0400
commitb570d81a41f57d17a5f7fccda20eec08f772c6d3 (patch)
tree7d7251dbe114807afef8f591464fb467fe4a214a /src
parent66098ede74c603330273861311e589f66b681516 (diff)
downloadpyohio2013-b570d81a41f57d17a5f7fccda20eec08f772c6d3.tar.gz
pyohio2013-b570d81a41f57d17a5f7fccda20eec08f772c6d3.zip
Added 'magic' to the game.HEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/game.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.py b/src/game.py
index 800d3ac..2e24763 100644
--- a/src/game.py
+++ b/src/game.py
@@ -66,6 +66,9 @@ class Game(cmd.Cmd):
shutil.copyfile(self.dbfile, args)
print("The game was saved to {0}".format(args))
+ def do_xyzzy(self, args):
+ print('''A hollow voice says, "This isnt Fortran..."''')
+
if __name__ == "__main__":
g = Game()
g.cmdloop()