Telengard |
Telengard, published by Avalon Hill in 1982, is an early example of the dungeon crawl style of adventure game. If was published for a number of different computers including the Atari 8-bit systems which is the one that this page is about.
|
Links |
Atarimania - You can download the disk image of the game from this site, along with a copy of the instruction manual. |
Disk Files |
The disk image for Telengard contains the following files: DOS.SYS, DUP.SYS - Atari DOS files |
Basic Listing |
This file contains a listing of the main game program that I have extensively commented to describe how the game works. |
Map Generation |
One of the interesting parts of Telengard is the way it generates the dungeon map. The dungeon in the game is very large, it has 50 level and each level is 200 by 200 rooms. The dungeon is also the same every time you play so you can map it out as you go along. This is achieved by using a pseudo-random algorithm to generate the map. This results in a map that is complex enough to be interesting, but not so complex that it's unplayable. This is the formula that is used to determine the appearance of each room:
XO, YO and ZO are constants hi describes the room as follows: bits 0,1: Upper wall: 0,1 = nothing, 2 = door, 3 = wall
To view the entire map I created a VB.NET map generator program. This program required the Microsoft .NET Framework 2.0: Map Viewer - Executable and source |
Dan Boris - danlb_2000@yahoo.com |