adventure icon

adventure For Linux

3.0/5 3
BSD License    

Colossal cave adventure game at the Python prompt. #Adventure game  #Text adventure  #Colossal Cave  #Adventure  #Puzzle  #Text  

Description

changelog

Free Download

adventure is a faithful port of the “Adventure” game to Python 3 from the original 1977 FORTRAN code by Crowther and Woods, driven by the same advent.dat file, that lets you explore Colossal Cave, where others have found fortunes in treasure and gold, though it is rumored that some who enter are never seen again.

To encourage the use of Python 3, the game is designed to be played right at the Python prompt. Single-word commands can be typed by themselves, but two-word commands should be written as a function call (since a two-word command would not be valid Python): >>> import adventure >>> adventure.play() WELCOME TO ADVENTURE!! WOULD YOU LIKE INSTRUCTIONS?

>>> no 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 YOU ARE INSIDE A BUILDING, A WELL HOUSE FOR A LARGE SPRING.

THERE ARE SOME KEYS ON THE GROUND HERE.

THERE IS A SHINY BRASS LAMP NEARBY.

THERE IS FOOD HERE.

THERE IS A BOTTLE OF WATER HERE.

>>> get(lamp) OK

>>> leave YOU'RE AT END OF ROAD AGAIN.

>>> south YOU ARE IN A VALLEY IN THE FOREST BESIDE A STREAM TUMBLING ALONG A ROCKY BED.

The original Adventure payed attention to only the first five letters of each command, so a long command like inventory could simply be typed as inven. This package defines a symbol for both versions of every long word, so you can type the long or short version as you please.

You can find two complete, working walkthroughs of the game in its tests directory, which you can run using the discover module that comes built-in with Python 3.2:

$ python3.2 -m unittest discover adventure

I wrote most of this package over Christmas vacation 2010, to learn more about the workings of the game that so entralled me as a child; the project also gave me practice writing Python 3. I still forget the parentheses when writing print() if I am not paying attention.

System requirements

What's new in adventure 1.3:

  • Installs on Windows; fixed undefined commands
Read the full changelog

adventure 1.3

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  filename:
adventure-1.3.tar.gz
  main category:
Games
  developer:
  visit homepage

Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

Zoom Client 6.0.3.37634

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

Context Menu Manager 3.3.3.1

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

ShareX 16.0.1

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

IrfanView 4.67

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Windows Sandbox Launcher 1.0.0

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

Bitdefender Antivirus Free 27.0.35.146

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

7-Zip 23.01 / 24.04 Beta

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

calibre 7.9.0

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

38% discount
Bitdefender Antivirus Free
  • Bitdefender Antivirus Free
  • 7-Zip
  • calibre
  • Microsoft Teams
  • Zoom Client
  • Context Menu Manager
  • ShareX
  • IrfanView
  • 4k Video Downloader
  • Windows Sandbox Launcher
essentials


User Comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy