User Tools

Site Tools


tutorials:startrek

This is an old revision of the document!


Star Trek Instructions

The galaxy is divided into an 8,8 quadrant grid which is in turn divided into an 8,8 sector grid.

The cast of characters is as follows:

 <*> = Enterprise
 +++ = Klingon
 >!< = Starbase
  *  = Star

Command 0 = Warp Engine Control

Course is in a circular numerical vector arrangement as shown.

    4  3  2
     \ ^ /
      \^/
   5 ----- 1
      /^\
     / ^ \
    6  7  8
    Course

Integer and real values may be used. Therefore course 1.5 is half way between 1 and 2.

A vector of 9 is undefined, but values may approach 9.

One warp factor is the size of one quadrant. Therefore to get from quadrant 6,5 to 5,5 you would use course 3, warp factor 1.

Command 1 = Short Range Sensor Scan

Print the quadrant you are currently in. Including stars, Klingons, starbases, and the Enterprise, along with other pertinant information.

Command 2 = Long Range Sensor Scan

Shows conditions in space for one quadrant on each side of the Enterprise in the middle of the scan. The scan is coded in the form XXX, where the units digit is the number of stars, the tens digit is the number of starbases. The hundreds digit is the number of Klingons.

Command 3 = Phaser Control

Allows you to destroy the Klingons by hitting him with suitably large numbers of energy units to deplete his shield power. Keep in mind that when you shoot at him, he gonna shoot at you, too!

Command 4 = Photon Torpedo Control

Course is the same as used in warp engine control. If you hit the Klingon, he is destroyed and cannot fire back at you. If you miss, you are subject to his phaser fire.

Note: The library computer (Command 7) has an option to compute torpedo trajectory for you (Option 2).

6231 &“COMMAND 5 = SHIELD CONTROL” 6240 &“ DEFINES NUMBER OF ENERGY UNITS TO BE ASSIGNED TO SHIELDS” 6250 &“ ENERGY IS TAKEN FROM TOTAL SHIP'S ENERGY.” 6251 &“ NOTE THAT TOTAL ENERY INCLUDES SHIELD ENERGY.” 6260 PRINT 6261 &“COMMAND 6 = DAMAGE CONTROL REPORT” 6270 &“ GIVES STATE OF REPAIRS OF ALL DEVICES. A STATE OF REPAIR” 6280 &“ LESS THAN ZERO SHOWS THAT THE DEVICE IS TEMPORARALY” 6290 &“ DAMAGED.” 6300 PRINT 6301 &“COMMAND 7 = LIBRARY COMPUTER” 6310 &“ THE LIBRARY COMPUTER CONTAINS THREE OPTIONS:” 6320 &“ OPTION 0 = CUMULATIVE GALACTIC RECORD” 6330 &“ WHICH SHOWS COMPUTER MEMORY OF THE RESULTS” 6340 &“ OF ALL PREVIOUS LONG RANGE SENSOR SCANS” 6350 &“ OPTION 1 = STATUS REPORT” 6360 &“ WHICH SHOWS NUMBER OF KLINGONS, STARDATES,” 6370 &“ AND STARBASES LEFT.” 6380 &“ OPTION 2 = PHOTON TORPEDO DATA” 6390 &“ GIVES TRAJECTORY AND DISTANCE BETWEEN THE” 6400 &“ ENTERPRISE AND ALL KLINGONS IN YOUR QUADRANT” 6500 GOTO 230 6

tutorials/startrek.1476616443.txt.gz · Last modified: 2016/10/16 11:14 by papa