User Tools

Site Tools


tutorials:startrek

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:startrek [2016/10/16 11:27]
papa
tutorials:startrek [2016/10/17 04:44] (current)
papa
Line 1: Line 1:
-===== Star Trek Instructions =====+**Star Trek/Space War** is a text-based strategy game inspired by the television series //Star Trek// and popular on minicomputers, mainframes, and early PCs in the 1970s and -80s. It was originally programmed in 1971 by high-schooler Mike Mayfield for the SDS Sigma 7 mainframe. The TWENEX version of the program is based on David Ahl's DEC BASIC port[*], which Ahl distributed under the name of //Space War// (file name ''SPACWR.BAS'').  
 + 
 +The //Instructions// section below duplicates the original in-game help text, which Ahl adopted unchanged from Mayfield's source. In addition to adapting the text format, minor corrections have been made to spelling and punctuation. In the game, commands are selected by the number indicated in the headings below (this page's table of contents can serve as a quick command guide). 
 + 
 +There are two commands not documented below: 
 + 
 +  * **Command 8** -- to quit the game. 
 +  * (Any other number) -- to display a short list of valid commands. 
 +  
 +===== Invocation ===== 
 + 
 +To play //Star Trek//, log-in to your TWENEX account, enter ''BASIC'', then run the following commands: 
 + 
 +     OLD <PAPA.BASIC>SPCWR10.BAS 
 +     RUN 
 + 
 +===== Instructions =====
  
 The galaxy is divided into an 8,8 quadrant grid which is in turn divided into an 8,8 sector grid. The galaxy is divided into an 8,8 quadrant grid which is in turn divided into an 8,8 sector grid.
Line 70: Line 86:
 Gives trajectory and distance between the Enterprise and all Klingons in your quadrant. Gives trajectory and distance between the Enterprise and all Klingons in your quadrant.
  
 +
 +===== Notes =====
 +
 +[*] Minor incompatibilities between DEC BASIC and TWENEX's BASIC-10 required some modification of the source code:
 +
 +  * Arguments removed from calls to function ''RND''
 +  * Multiple colon-separated statements per line split into multiple single-statement lines.
 +  * Semicolons inserted between items in ''PRINT'' statements.
tutorials/startrek.1476617235.txt.gz · Last modified: 2016/10/16 11:27 by papa