• Stars
    star
    104
  • Rank 330,604 (Top 7 %)
  • Language
    Fortran
  • License
    Other
  • Created over 3 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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; a Python implementation is provided in the src directory.

./cquest | python ./asa.py

More Repositories

1

from-scratch

C++ standard library features, "from scratch"
C++
176
star
2

coro

Single-header library facilities for C++2a Coroutines
C++
79
star
3

Advent

A modern ANSI C port of Crowther & Woods' "Adventure".
C
77
star
4

ring_view

std::ring_span (SG14, P0059R1)
C++
45
star
5

Hanabi

Framework for writing bots that play Hanabi.
C++
36
star
6

Xoshiro256ss

A minimal xoshiro256** generator with the C++ <random> interface
C
32
star
7

WideIntProofOfConcept

Trying to get perfect codegen for big-integer math.
C++
30
star
8

Homeworlds

A C++ framework for working with the game of Binary Homeworlds, including a text interface to a simple AI.
C++
20
star
9

TNT

Douglas Hofstadter's "Typographical Number Theory"
Python
16
star
10

analog-literals

C++
15
star
11

difdef

Utility to do an N-way diff and N-way merge, for N>2. Uses the patience diff algorithm.
C++
12
star
12

futures-from-scratch

C++
9
star
13

JugglersDrift

Software for displaying multi-juggler runarounds. On an Ubuntu 11.10 system, run "sudo apt-get libpng12-dev", then read the README.
C++
9
star
14

libexplain

Unmaintained snapshot of https://sourceforge.net/projects/libexplain/
C
7
star
15

tbb

Intel's Threading Building Blocks (GPLv2)
C++
5
star
16

CppConTimer

Full-screen countdown timer for conference presenters
HTML
5
star
17

Mwc256XXA64

A minimal "MWC-X-A-256/64" generator with the C++ <random> interface
C++
4
star
18

Fishspear

C++14 implementation of the Fishspear priority-queue data structure
C++
4
star
19

hello-extension

The simplest possible C++ extension for Python3. No Boost.
C++
3
star
20

MetaSudoku

Meta-sudoku solver: https://quuxplusone.github.io/blog/2018/10/26/sudoku-stories/
C++
2
star
21

KnuthElevator

Elevator simulator from Knuth's TAOCP volume 1, section 2.2.5.
C++
2
star
22

Buddhabrot

C++14 Buddhabrot renderer, based on Alex Boswell's code
C++
2
star
23

Chimaera

Chris Newall's "Chimaera" adventure game. http://www.mipmip.org/chimaera/
C
2
star
24

cwg-issue-browser

How I wish wg21.link/cwg1234 worked
Python
1
star
25

church-numerals

Church numerals in C++14, C++11, and C++03.
C++
1
star
26

PeacefulEncampments

JavaScript visualizer for the "Peaceful Encampments" problem
HTML
1
star
27

Fungus

The Fungus virtual machine
C
1
star
28

canonical-cxx

Annotated, cut-and-pasteable skeletons for various kinds of C++ class types.
C++
1
star
29

Lielow

https://quuxplusone.github.io/Lielow
CSS
1
star
30

AdventOfCode

Google Advent of Code solutions, https://adventofcode.com
C++
1
star
31

objectivecpp-for-komodoedit

KomodoEdit extension for syntax-highlighting Objective-C++ files
Python
1
star
32

RecreationalMath

Various small programs related to recreational math/CS problems
Python
1
star
33

wolves-and-sheep

https://puzzling.stackexchange.com/questions/81737/wolves-and-sheep/
C++
1
star