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:14]
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 46: Line 62:
 **Note**: The library computer (Command 7) has an option to compute torpedo trajectory for you (Option 2). **Note**: The library computer (Command 7) has an option to compute torpedo trajectory for you (Option 2).
  
-6231    &"COMMAND 5 = SHIELD CONTROL" +==== Command 5 = Shield Control ==== 
-6240    &"  DEFINES NUMBER OF ENERGY UNITS TO BE ASSIGNED TO SHIELDS" + 
-6250    &"  ENERGY IS TAKEN FROM TOTAL SHIP'S ENERGY.+Defines number of energy units to be assigned to shields. Energy is taken from total ship's energyNote that total energy includes shield energy
-6251    &"  NOTE THAT TOTAL ENERY INCLUDES SHIELD ENERGY." + 
-6260    PRINT +==== Command 6 = Damage Control Report ==== 
-6261    &"COMMAND 6 = DAMAGE CONTROL REPORT" + 
-6270    &"  GIVES STATE OF REPAIRS OF ALL DEVICES STATE OF REPAIR" +Gives state of repairs of all devices. A state of repair less than zero shows that the device is temporarily damaged
-6280    &"  LESS THAN ZERO SHOWS THAT THE DEVICE IS TEMPORARALY" + 
-6290    &"  DAMAGED." +==== Command 7 = Library Computer ==== 
-6300    PRINT + 
-6301    &"COMMAND 7 = LIBRARY COMPUTER" +The library computer contains three options
-6310    &"  THE LIBRARY COMPUTER CONTAINS THREE OPTIONS:" + 
-6320    &"    OPTION 0 = CUMULATIVE GALACTIC RECORD" +=== Option 0 = Cumulative Galactic Record === 
-6330    &"      WHICH SHOWS COMPUTER MEMORY OF THE RESULTS" + 
-6340    &"      OF ALL PREVIOUS LONG RANGE SENSOR SCANS" +Which shows computer memory of the results of all previous long range sensor scans. 
-6350    &"    OPTION 1 = STATUS REPORT" + 
-6360    &"      WHICH SHOWS NUMBER OF KLINGONSSTARDATES,+=== Option 1 = Status Report === 
-6370    &"      AND STARBASES LEFT." + 
-6380    &"    OPTION 2 = PHOTON TORPEDO DATA" +Which shows number of Klingonsstardatesand starbases left
-6390    &"      GIVES TRAJECTORY AND DISTANCE BETWEEN THE" + 
-6400    &"      ENTERPRISE AND ALL KLINGONS IN YOUR QUADRANT" +=== Option 2 = Photon Torpedo Data === 
-6500    GOTO 230 + 
-6+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.1476616443.txt.gz · Last modified: 2016/10/16 11:14 by papa