Git Product home page Git Product logo

castlequest's Introduction

Castlequest (1980)

By Michael S. Holtzman and Mark Kershenblatt.

Provenance

The U.S. Copyright Office has a deposit related to this game: TXu000091366

On 2021-03-02, Mark Kershenblatt received 78 pages of paper copies from the USCTO. He scanned them in and sent the scans to Arthur O'Dwyer, in the form of two PDFs. Arthur rotated and concatenated the PDFs into the single 78-page PDF in this repository, castlequest.pdf.

Arthur O'Dwyer manually transcribed the PDF into the plain text file in this repository, castlequest.ocr.txt. (If you find any places where the transcription differs from the original PDF, Arthur will pay a "bug bounty" of $5 per error! Open a pull request on this repository or send me an email.)

The src directory contains .f and .dat files that have been mechanically extracted from castlequest.ocr.txt using command-line tools such as cut -b 17-88.

How to compile and play

I'm still deciding how to organize the patches in the long term, so these instructions may change. For now, my patches are in a separate git branch named patches:

git checkout patches
cd src
make
./cquest | asa

In order for make to work, you'll need to have either f77 or gfortran in your path.

In order for your input to be recognized, you'll need to enter all your text in ALL CAPS. I recommend turning on CAPS LOCK while you play.

The game's output uses "carriage control": when it prints the character 0 in column 1, it's expecting that the printer hardware will turn that into an extra newline. Naturally, modern terminals don't do that. But many POSIX systems (including Mac OSX) come with a utility program named asa that can interpret those carriage-control characters for you. If your computer lacks asa, you can hack it together in a couple lines of your favorite scripting language; or, just deal with the extra 0 characters and fewer newlines.

castlequest's People

Contributors

quuxplusone avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.