by aaronem · 12y ago · 0 comments
Update: Also, I'm no longer familiar with any BASIC dialect, and I've never been familiar with any that ran on a PDP-11, but am I mistaken in thinking these two lines
00210 FILE #1="DNG1"
00220 FILE #2="DNG2",#3="DNG3",#4="DNG4",#5="DNG5",#6="DNG6"
reference other files, which judging by their names might contain dungeon definitions required for the game to work?If so, I have to think this is going to be a short contest with a most disappointing result.
The dungeon files contain just 25*25 numbers, and looking at line 02370 onwards their meanings are: 0 for empty space, 1 for wall, 2 for trap, 3 for secret door, 4 for door, 5 for monster, 6 for gold, 7 and 8 perhaps mushrooms (they increase your HP or CON by 1, then randomly choose whether to poison you; they are randomly scattered when reading the dungeon file on line 01445 onward).
+--------+-------+
| | |
+----+ | |
| | .
. . .
. . .
... etc.Star Trek was written in 1971 and looks pretty similar as well. http://en.wikipedia.org/wiki/Star_Trek_(text_game)