Created
January 3, 2015 22:41
-
-
Save royseto/66ac235c5beb24f95db6 to your computer and use it in GitHub Desktop.
example bwx-game session (with crash unfortunately)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./bwx-game.py | |
--=( You are in the Sidewalk )=-- | |
There is a large glass door to the east. | |
The sign says 'Come In!' | |
There are a few things here: Gary the garden gnome, a pebble, and a key. | |
Robby is here. | |
A cat is here. | |
Fido is here. | |
> take pebble | |
You take the pebble. | |
Fido leaves the Sidewalk via the Big Door. | |
A cat leaves the Sidewalk via the Big Door. | |
> go in | |
--=( You are in the Vestibule )=-- | |
A small area at the bottom of a flight of stairs. | |
There is a switch next to an unlit bulb. | |
Up the stars you see the reception desk. | |
Fido is here. | |
A cat is here. | |
A cat leaves the Vestibule via the Big Door. | |
> verbs | |
commands drop fewer get go i inventory l look more peek reset scribble | |
take throw verbs | |
Fido leaves the Vestibule via the Big Door. | |
> inventory | |
You are carrying a pebble. | |
> go up | |
--=( You are in the Reception Desk )=-- | |
Behind an opening in the wall you see an unlit room. | |
You see a score board and a message box with a needle for messages. | |
There is a locked sliding door to the south, and an intersection to the north. | |
Traceback (most recent call last): | |
File "./bwx-game.py", line 314, in <module> | |
my_game.run(update) | |
File "/Users/royseto/code/bwx-adventure/advent.py", line 229, in run | |
update_func() # call the update function | |
File "./bwx-game.py", line 309, in update | |
my_game.output( "The pebble you picked up is suddenly feeling warm to the touch!") | |
AttributeError: 'Game' object has no attribute 'output' | |
roy-setos-macbook:bwx-adventure royseto$ git fetch | |
roy-setos-macbook:bwx-adventure royseto$ git log -1 | |
commit a6502b266193cad32e61181c635f7a663314d219 | |
Author: John Plevyak <[email protected]> | |
Date: Sat Jan 3 13:29:28 2015 | |
Add convenience functions for adding connections and locations. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment