Re: Finished a "teach yourself" book, what next?
From: Albert van der Horst (albert_at_spenarnc.xs4all.nl)
Date: 02/13/05
- Next message: Thomas Matthews: "Re: Efficency"
- Previous message: Albert van der Horst: "Re: Why pointers can only be subtracted ?"
- In reply to: Richard Bos: "Re: Finished a "teach yourself" book, what next?"
- Next in thread: CBFalconer: "Re: Finished a "teach yourself" book, what next?"
- Reply: CBFalconer: "Re: Finished a "teach yourself" book, what next?"
- Reply: Richard Bos: "Re: Finished a "teach yourself" book, what next?"
- Reply: Mabden: "Re: Finished a "teach yourself" book, what next?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 13 Feb 2005 11:44:24 GMT
In article <41fe5f05.12406349@news.individual.net>,
Richard Bos <rlb@hoekstra-uitgeverij.nl> wrote:
>Chris Croughton <chris@keristor.net> wrote:
>
>> On Sun, 30 Jan 2005 22:45:26 GMT, Jacob Oost
>> <zork@columbus.rr.com> wrote:
>>
>> > Thanks for the suggestions. I was thinking of writing a program to
>> > decode the cryptoquip (by counting the occurences of numbers and
>> > comparing them to a table of the most commonly-used letters in English),
>> > and then a text adventure engine (I have never seen the source code for
>> > a text adventure yet, I'm curious how they do it, I imagine some kind of
>> > multi-branching linked list).
>>
>> A numboer of them use a "game engine", which is an interpreter. Do a
>> Google search for "infocom" and "frotz", I know there is C source for
>> that (for Linux and DJGPP among others). But the code is not very
>> readable as I recall. Somewhere there is code for the original
>> "Colossal Cave" adventure as well...
>
>But not, originally, in C. Advent was written in Fortran. The original
>Infocom games were written in ZIL, which was a kind of MDL, which was a
>Lisp-like language. I've no idea what their 'terps were written in.
The original code in MDL is, as far as I can tell, still a trade
secret, after more than 25 years.
I have the code for what I know as dungeons, aka Zork on my site.
http://home.hccnet.nl/a.w.m.van.der.horst/games.html
It is in fact a 1991 source intended for MSDOS, but after conversion
to Unix text files, it compiles perfectly on Linux, gcc.
It is a testament to the practical portability of C.
I didn't want to look into the source (I want to play it, and don't
want spoilers) but I didn't need to. So I don't know whether it is
a good idea to study it.
<SNIP>
>Richard
--
Groetjes Albert
--
Albert van der Horst,Oranjestr 8,3511 RA UTRECHT,THE NETHERLANDS
One man-hour to invent,
One man-week to implement,
One lawyer-year to patent.
- Next message: Thomas Matthews: "Re: Efficency"
- Previous message: Albert van der Horst: "Re: Why pointers can only be subtracted ?"
- In reply to: Richard Bos: "Re: Finished a "teach yourself" book, what next?"
- Next in thread: CBFalconer: "Re: Finished a "teach yourself" book, what next?"
- Reply: CBFalconer: "Re: Finished a "teach yourself" book, what next?"
- Reply: Richard Bos: "Re: Finished a "teach yourself" book, what next?"
- Reply: Mabden: "Re: Finished a "teach yourself" book, what next?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|