From b570d81a41f57d17a5f7fccda20eec08f772c6d3 Mon Sep 17 00:00:00 2001 From: Jeff Armstrong Date: Sat, 27 Jul 2013 15:22:00 -0400 Subject: Added 'magic' to the game. --- src/game.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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() -- cgit v1.2.3