Wednesday, April 28, 2021

Test and Code: 151: Python Adventure - Brandon Rhodes

Adventure, or Colossal Cave Adventure, was written between 1975 and 1977 in Fortran. Brandon Rhodes ported it to Python 3, initial release in 2011, and still maintains it. We talk to Brandon about this wonderful game.

YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK BUILDING.
AROUND YOU IS A FOREST.  A SMALL STREAM FLOWS OUT OF THE BUILDING AND
DOWN A GULLY.

>>> east

A bit later...

IT IS NOW PITCH DARK.  IF YOU PROCEED YOU WILL LIKELY FALL INTO A PIT.

>>> light(lamp)

YOUR LAMP IS NOW ON.

YOU ARE IN A DEBRIS ROOM FILLED WITH STUFF WASHED IN FROM THE SURFACE.
A LOW WIDE PASSAGE WITH COBBLES BECOMES PLUGGED WITH MUD AND DEBRIS
HERE, BUT AN AWKWARD CANYON LEADS UPWARD AND WEST.  A NOTE ON THE WALL
SAYS ...

What's happening is that I'm playing adventure, which you can pip install thanks to Brandon Rohdes. Adventure is a faithful port to Python 3 from the original 1977 FORTRAN code by Crowther and Woods that lets you explore Colossal Cave, where others have found fortunes in treasure and gold, ...

In this episode, we talk with Brandon Rhodes about this marvelous game.

Special Guest: Brandon Rhodes.

Sponsored By:

Support Test & Code : Python Testing

Links:

<p>Adventure, or Colossal Cave Adventure, was written between 1975 and 1977 in Fortran. Brandon Rhodes ported it to Python 3, initial release in 2011, and still maintains it. We talk to Brandon about this wonderful game.</p> <pre><code>YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK BUILDING. AROUND YOU IS A FOREST. A SMALL STREAM FLOWS OUT OF THE BUILDING AND DOWN A GULLY. &gt;&gt;&gt; east A bit later... IT IS NOW PITCH DARK. IF YOU PROCEED YOU WILL LIKELY FALL INTO A PIT. &gt;&gt;&gt; light(lamp) YOUR LAMP IS NOW ON. YOU ARE IN A DEBRIS ROOM FILLED WITH STUFF WASHED IN FROM THE SURFACE. A LOW WIDE PASSAGE WITH COBBLES BECOMES PLUGGED WITH MUD AND DEBRIS HERE, BUT AN AWKWARD CANYON LEADS UPWARD AND WEST. A NOTE ON THE WALL SAYS ... </code></pre> <p>What&#39;s happening is that I&#39;m playing adventure, which you can pip install thanks to Brandon Rohdes. Adventure is a faithful port to Python 3 from the original 1977 FORTRAN code by Crowther and Woods that lets you explore Colossal Cave, where others have found fortunes in treasure and gold, ...</p> <p>In this episode, we talk with Brandon Rhodes about this marvelous game.</p><p>Special Guest: Brandon Rhodes.</p><p>Sponsored By:</p><ul><li><a href="https://ift.tt/2JDHRTz" rel="nofollow">PyCharm Professional</a>: <a href="https://ift.tt/2JDHRTz" rel="nofollow">Try PyCharm Pro for 4 months and learn how PyCharm will save you time.</a> Promo Code: TESTANDCODE21</li></ul><p><a href="https://ift.tt/2tzXV5e" rel="payment">Support Test & Code : Python Testing</a></p><p>Links:</p><ul><li><a href="https://ift.tt/3ntIQeD" title="adventure · PyPI" rel="nofollow">adventure · PyPI</a></li><li><a href="https://ift.tt/1LE1STs" title="python-adventure: Original Colossal Caves adventure game, but in Python 3" rel="nofollow">python-adventure: Original Colossal Caves adventure game, but in Python 3</a></li><li><a href="https://ift.tt/3vrD7IT" title="Brandon Rhodes Personal Site" rel="nofollow">Brandon Rhodes Personal Site</a></li><li><a href="https://ift.tt/2qKcek5" title="Python Design Patterns" rel="nofollow">Python Design Patterns</a></li><li><a href="https://ift.tt/2olPJRa" title="pyephem: Scientific-grade astronomy routines for Python" rel="nofollow">pyephem: Scientific-grade astronomy routines for Python</a></li><li><a href="https://ift.tt/2wvCGQW" title="python-skyfield: Elegant astronomy for Python" rel="nofollow">python-skyfield: Elegant astronomy for Python</a></li><li><a href="https://ift.tt/3e0D7ty" title="Adventure in Python 3 - announcement blog post from 2012" rel="nofollow">Adventure in Python 3 - announcement blog post from 2012</a></li><li><a href="https://ift.tt/1BhvPdP" title="NetHack" rel="nofollow">NetHack</a></li><li><a href="https://ift.tt/1Wb7hbY" title="FTL: Faster Than Light" rel="nofollow">FTL: Faster Than Light</a></li></ul>

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...