[CentralOH] Python 3 Colossal Caves Adventure
eric at intellovations.com
Mon Mar 14 02:04:46 CET 2011
Will have a bigger recap of PyCon 2011 at the meeting (along with at least
Morgan Goose who also attended) but I had to share this program that I found
out about at one of the lightning talks.
It is a faithful reproduction of Colossal Caves Adventure (the one Zork was
based on). The really cool thing is you can play in the Python shell. The
really *really* cool thing is that it uses a __repr__ trick to allow
functions to be run without using parens.
The really really *really* cool thing is that since you can play the game in
the shell, there are unit tests in Python code, including two complete
walkthroughs. Pretty awesome stuff when you think about it!
If you have Python 3, just pip install adventure... here's the page for more
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentralOH