473,809 Members | 2,728 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Finished a "teach yourself" book, what next?

Should I get some more general books, like "advanced self-teaching," or
can I start on specialized books like "Linux game programming?"

Any book recommendations ?
--

----- BEGIN GEEK CODE BLOCK -----
Version 3.1
GAT d? !s !a C++++ UL+ P L++ E- W+ N+ o-- K- w--
O- !M !V PS-- PE++ Y+ PGP- t++>++++* 5? !X-- R- tv b++ DI+ D++
G e !h !r !y
...... END GEEK CODE BLOCK ----
Nov 14 '05
33 2406
Albert van der Horst wrote:
Richard Bos <rl*@hoekstra-uitgeverij.nl> wrote:

.... snip ...

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.


The secrets are in the encoded .dat file, so reading the source
won't spoil your fun. At a first glance it seems fairly nicely
organized, but could do with advancing to C89 standards. Lots of
warnings under -ansi -pedantic, but none extremely serious, and the
result compiles and runs under DJGPP/windoze.

--
"If you want to post a followup via groups.google.c om, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson

Nov 14 '05 #31
Albert van der Horst <al****@spenarn c.xs4all.nl> wrote:
In article <41************ ***@news.indivi dual.net>,
Richard Bos <rl*@hoekstra-uitgeverij.nl> wrote:
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.


The original code is in ZIL, not in MDL (there are quite a few
differences), and they aren't so much a trade secret as simply lost in
the mist of times.
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.
You do realise that the original was in Fortran for a DEC, more than ten
years earlier? A Fortran version is TTBOMK still available from the IF
Archive.
It is a testament to the practical portability of C.


True; the Fortran version is not quite as portable. Never mind the
original Advent: that required you to save a core file if you wanted to
change the settings...

A text adventure is actually a good example of a fairly complex program
that can be written entirely in ISO C, if you don't care about the
looks.

Richard
Nov 14 '05 #32
rl*@hoekstra-uitgeverij.nl (Richard Bos) wrote:
Albert van der Horst <al****@spenarn c.xs4all.nl> wrote:
In article <41************ ***@news.indivi dual.net>,
Richard Bos <rl*@hoekstra-uitgeverij.nl> wrote:
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.


The original code is in ZIL, not in MDL (there are quite a few
differences), and they aren't so much a trade secret as simply lost in
the mist of times.
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.


You do realise that the original was in Fortran for a DEC, more than ten
years earlier? A Fortran version is TTBOMK still available from the IF
Archive.


Ho-hum. I must correct myself. The original for Dungeon _was_ written in
MDL. The originals for the separate Zorks and subsequent Infocom games
were in ZIL, though, and do appear to be lost rather than kept secret
(as, AFAICT, is the original Dungeon). The Fortran version appears to be
later than that.

Richard
Nov 14 '05 #33
"Albert van der Horst" <al****@spenarn c.xs4all.nl> wrote in message
news:ib******** @spenarnc.xs4al l.nl...
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


What does this line mean (from your website):
"My modification to the source code of dungeons are in the public
domain. This mainly amounts to replacing pairs by only and selection a
scroll mode in the Makefile"

--
Mabden
Nov 14 '05 #34

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

60
3987
by: K. G. Suarez | last post by:
Hello everyone. I am new to programming and my uncle gave me a copy of "C For Dummies 2nd Edition". I am up to chapter 9 right now. He probably saw me struggling with "The C Programming Language" by Ritchie and Kernigahn and felt bad. Does anyone have experience with this book? I feel that it is helping me along pretty well. But how much will this book teach me? What would be the next book to read?
35
5855
by: pandit | last post by:
is this book good for learning C ? i am a beginning programmer, Kernighan and Ritchie 2e is quite hard on me.
7
2029
by: duli | last post by:
Hi: I would like recommendations for books (in any language, not necessarily C++, C, python) which have walkthroughs for developing a big software project ? So starting from inception, problem definition, design, coding and final delivery on a single theme or application. Most of the code I have written and books that I have read deal with toy programs and I am looking for something a bit more comprehensive. For example, maybe a...
8
2711
by: ssecorp | last post by:
I first learned about OO from Java. I much prefer to program in Python though. However I am consufed about 2 things. 1. Why do I have to pass self into every method in a class? Since I am always doing why cant this be automated or abstracted away? Are the instances where I won't pass self? I imagine there is some tradeoff involved otherwise it would have been
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9601
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10637
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10115
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7660
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3014
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.