{"id":32,"date":"2013-10-27T17:10:11","date_gmt":"2013-10-27T17:10:11","guid":{"rendered":"http:\/\/www.kermitmurray.com\/trek73\/?page_id=32"},"modified":"2013-10-27T21:56:49","modified_gmt":"2013-10-27T21:56:49","slug":"description","status":"publish","type":"page","link":"https:\/\/kermitmurray.com\/trek73\/description\/","title":{"rendered":"Description"},"content":{"rendered":"<p>Trek73 is a computer space-battle simulation based on the original Star Trek television series. As the name suggests, it was created in 1973 by William K. Char, Perry Lee, and Dan Gee. Many young Bay Area residents played the game on a teletype connected to the LHS DECISION computer located at the Lawrence Hall of Science in Berkeley, California. Roderick Perkins was the one who adapted the program for the LHS computer. Dave Pare and Chris Williams translated the BASIC into C and Jeff Okamoto, Peter Yee, and others corrected and enhanced the code. TREK73 was also played at Wilson High School in San Francisco and Howard Chu ported it to Turbo Pascal for MS-DOS at the University of Michigan in 1985 (where the binary and source still reside) and created a C\/curses version in 1990.<\/p>\n<p><strong>Versions<\/strong><\/p>\n<p><strong>January 1973<\/strong> &#8211; William Char begins programming a space battle game in BASIC on a Hewlett-Packard 2000C system.<\/p>\n<p><strong>May 1973<\/strong> &#8211; The first version of $SPACE is introduced.<\/p>\n<p><strong>June 1973<\/strong> &#8211; Char, Perry Lee, and Dan Gee begin programming TREK73.<\/p>\n<p><strong>October 8, 1973<\/strong> &#8211; Trek73 introduced.<\/p>\n<p><strong>1974<\/strong> &#8211; Roderick Perkins adapts TREK73 for the DECISION computer at the Lawrence Hall of Science.<\/p>\n<p><strong>1984<\/strong> &#8211; Dave Pare and Chris Williams at the University of California independently translate TREK73 into C<\/p>\n<p><strong>April 1985<\/strong> &#8211; Jeff Okamoto and Peter Yee combine the two Pare and Williams versions into one.<\/p>\n<p><strong>1985<\/strong> &#8211; Howard Chu creates a Turbo Pascal version of TREK73 at the University of Michigan.<\/p>\n<p><strong>1990<\/strong> &#8211; Howard Chu finishes a C\/curses version.<\/p>\n<pre><strong>Trek73's History<\/strong> [from Comp.sources.games: Volume 3, Issue 27, 17 Dec 1987]\r\n\r\nTrek73 was programmed on a Hewlett-Packard 2000C system by William K. Char, Perry Lee, and Dan Gee. In January 1973, Mr. Char started with a few ideas and five months later, in May, introduced $SPACE, his first version.\r\n\r\nSpace had only 14 commands and comprised one 10K program. Response was so great that new ideas flooded in and in June, work on Trek73 was begun. Over 70 recordings of past shows were reviewed to reconstruct dialogue and vessels. On October 8, 1973, Trek73 was introduced.\r\n\r\nIn 1984, Dave Pare at University of California at San Diego and Chris Williams at the University of California at Berkeley independently Xtranslated the BASIC code into C to run under BSD UNIX.\\**\r\n\r\nIn April 1985, Jeff Okamoto and Peter Yee, both at the University of California at Berkeley combined the two versions into one, fixing bugs and adding new commands and concepts.<\/pre>\n<p><strong>Reviews &amp; Reminiscences<\/strong><\/p>\n<pre>When I was about 10 or 11, I would go to the Lawrence Hall of Science quite frequently. There, on their time-sharing system, I would sit at a Teletype Model 33 and play trek.\r\n\r\nSadly, LHS replaced their system and trek went away. It was my intention that it should not be forgotten. I had had a copy of a slightly different version of trek written in BASIC, but it was sadly unimplementable on my Apple computer.\r\n\r\nWhen I learned of an implementation of trek written in C, I jumped at the chance to bring it to the systems here at UC Berkeley. At that time, the game was mostly a direct translation of the original BASIC source. Many of the commands and routines were either missing or faulty. With Peter Yee, we worked together to fix up the program and managed to get it running.\r\n\r\nOnce it was running, the time came for improvements. I admit to pulling many concepts from the game Star Fleet Battles, most notably the different races (Hydrans, Lyrans, etc.) and the ship names.\r\n\r\nThis version of the game represents many hours of thinking and debugging. I hope you enjoy playing it as much as I did coding it.<\/pre>\n<p>-Jeff Okamoto [from TREK73 Designer Notes, Appendix 5]<\/p>\n<pre>My first experience with TREK73 was also at the Lawrence Hall of Science. I had been taking classes in Time-Sharing Basic and noticed that other people always talked about a game called $TREK that was a real CPU hog and was usually turned off. Naturally I was intrigued. Soon I was paying $2.00 an hour for the chance to play that game. Many long hours and quite a few dollars went into playing $TREK, so it was with a certain sadness that I learned that the DG Ecllipse on which $TREK ran was being phased out. I made several attempts to obtain the source before it went away, but I was unable to get it.\r\n\r\nFortunately for me, Dave Pare at UC San Diego was also a fan of the game, and more importantly, he had an outdated copy of the source from an HP 2000. Dave had started to implement the game in C to run under 4.2 BSD UNIX. Expressing my interest to Dave, I was able to get a copy of Dave's code and thus the TREK Project at Berkeley was started. I spent endless hours tweaking with Dave's code, implementing some of the fifteen or so commands that he had not yet translated.\r\n\r\nAt about this time, I learned that Christopher Williams, here at Berkeley, had also tried to implement the game in C. What is more, he had a copy of the source (in BASIC) from Berkeley High School, and had implemented most of the commands. Merging the work that Chris had done into my copy of Dave's work led to a fairly complete version of the game. There still remained a large number of bugs, poor ideas, and outright mistakes in the code, but it ran.\r\n\r\nJeff Okamoto, being a fan of the game and a Star Fleet Battles player, was greatly interested in hacking on the game to bring up to par with the version that ran at LHS and to extend it even beyond that. Thus our partnership was formed and the current version of the game represents several hundred hours of our joint work (and play). Also represented are the suggestions, modifications and bug fixes we received from numerous people, including (to name a few) Matt Dillon, David Sharnoff, Joel Duisman, all at Berkeley, and Roger Noe at Rockwell International.\r\n\r\nIt is hoped that this implementation of a classic game will bring joy (and perhaps fond remembrances) to all who play.\r\n\r\nLive Long and Prosper,\r\n\r\n-Peter Yee [from TREK73 Designer Notes, Appendix 5]<\/pre>\n<pre>In the late '70s my brother and I would make the trip in to Berkeley to play TREK on a Teletype terminal at the Lawrence Hall of Science. In the next 25 years, I never found a computer game that was as fun to play. Sure it was crude, but that made it that much more intriguing. We would hunch over the terminal and wait for minutes as the HP timeshare computer crunched out our perfect move and finally returned with the result, \"chunka, chunka, cunka\" line by line. \"Hit 45 on Kreiger shield 1.\" The paper would roll out of the Teletype and spill over the back and onto the floor. At the end of our day, we would tear it off, roll it up and pore over it later to perfect our strategy and plan our next games.\r\n\r\nI recently found the game residing on the Web and created an \"Homage Page\". It doesn't seem right to see the output zoom down the screen, but playing again after all these years sure brought back some memories.\r\n\r\n- Kermit Murray, 1999<\/pre>\n<hr \/>\n<p>The following is adapted from TREK73.DOC (David Soussan)<\/p>\n<pre><strong>T R E K 7 3<\/strong>\r\n\r\n<strong>A Star Trek Battle Simulation<\/strong>\r\n\r\nTrek73 is a computer-simulated battle based on the famous Star Trek[1] television series and the board game Star Fleet Battles[2]. Via computer terminal, you can clash with enemy battle cruisers, such as Klingon D-7's and Romulan Sparrowhawks, and use the same strategies that Captain Kirk has used. Like Kirk, you control a Federation vessel similar to the Enterprise; a computer program directs the enemy. Victory can fall into several categories:\r\n\r\nDecisive Victory -- You completely destroy or cripple the attacking force.\r\n\r\nTactical Victory -- You out-maneuver the enemy using high-speed escapes, corbomite bluffs, `play dead' tactics; or the enemy surrenders.\r\n\r\nMoral Victory -- You surrender or self-destruct and destroy each other.\r\n\r\nAll distances are measured in megameters, one million meters (abbreviated `M'). Speed is expressed in `Warp Factors'. Each warp factor equals 100M per second[3]. All angles are expressed in common degrees from zero to 360, measured counter-clockwise from the x-axis[4], similar to reading a protractor. Only two dimensions are used .\r\n\r\nPlay is as follows:\r\n\r\n1. You issue one of a number of commands (fire phasers, change course, launch antimatter pods, surrender, etc.) by typing the appropriate code number into the keyboard;\r\n\r\n2. The enemy, under programmed instructions, issues a similar command;\r\n\r\n3. Both your commands are executed (phasers are fired, probes are launched, damages are assessed, courses changed, etc.) while the vessels move through space;\r\n\r\n4. Unless certain end-game conditions are met (you destroy the enemy, the enemy destroys you, your out-maneuver the enemy, you both destroy each other, or one party surrenders) the above steps are repeated.\r\n\r\nAppendix 1 depicts the Enterprise's power circuits.\r\n\r\nAppendix 2 displays certain weapon and shield angles.\r\n\r\nAppendix 3 lists certain weapon and vessel specifications.\r\n\r\nAppendix 4 lists initial deployment of resources.\r\n\r\nAppendix 5 contains the designer's notes.\r\n\r\nThe following is a list of codes which can be used while in the command mode aboard your ship:\r\n\r\nCODE COMMAND\r\n==== =======\r\n1 Fire Phasers\r\n2 Fire Photon Torpedos\r\n3 Lock Phasers Onto Target\r\n4 Lock Tubes Onto Target\r\n5 Manually Rotate Phasers\r\n6 Manually Rotate Tubes\r\n7 *Phaser Status\r\n8 *Tube Status\r\n9 Load\/Unload Torpedo Tubes\r\n10 Launch Antimatter Probe\r\n11 Probe Control (Detonate, Redirect, Lock)\r\n12 *Position Report\r\n13 *Position Display\r\n14 Pursue An Enemy Vessel\r\n15 Run From An Enemy Vessel\r\n16 Manually Change Course And Speed\r\n17 *Damage Report\r\n18 Scan Enemy (Damage Report Of Enemy)\r\n19 Alter Power Distribution\r\n20 Jettison Engineering\r\n21 Detonate Engineering\r\n22 Alter Torpedo And Phaser Firing Parameters\r\n23 Attempt Defenseless Ruse\r\n24 Attempt Corbomite Bluff(s)\r\n25 Surrender\r\n26 Ask Enemy to Surrender\r\n27 Initiate Self-Destruct Sequence\r\n28 Abort Self-Destruct\r\n29 *Survivors Report\r\n30 *Print Version Number\r\n31 *Reprints Above List\r\n*Does Not Use A Turn\r\n\r\nDetailed Descriptions of Each Command\r\n\r\nWhat follows is a detailed description of each command. Each command is referred to by a number from 1 to 31. After the name of the command is given, a synopsis of the arguments the command requires is given, if any. These arguments can be entered on the command line, separated by whitespace, if you wish. For instance, to fire phasers 1 through 4 with a spread of 15, you could type '1 1234 15' on the command line.\r\n\r\nIt should be noted that all numbers refer to parameters for the Heavy Cruiser Class ship, and that other ships have slightly different characteristics.\r\n\r\n1. Fire Phasers.\r\n\r\n[Phasers | all] [Spread]\r\n\r\nPhasers are pure energy units which emit a beam similar to lasers, but of a pulsating nature which can be `phased' to interfere with the wave pattern of any molecular form. Phasers get their power from phaser banks, which in turn, derive their power from the ship's engines. Each phaser bank is capable of holding a charge of 10 units. When firing, these banks discharge, similar to batteries, to spread their destructive power through space. After discharging, these banks are then recharged by the engines. Each phaser can be set to automatically track a target or can be manually rotated. Unless engineering is jettisoned (code 21), phasers only fire from 0-125 and 235-360 degrees, relative to the ship's course. In other words, each vessel has a 110 degree blind side in back of it in which phasers cannot fire. If phasers fired into this blind side, they would destroy the ship's engineering section.\r\n\r\nThe Captain also designates a wide or narrow phaser beam: a wide beam to disrupt many targets; a narrow beam to inflict maximum damage on a single target. The maximum spread of phasers is 45 degrees, the minimum is 10 degrees. The total beam width is twice the designated spread.\r\n\r\nThe firing percentage of each bank is preset to 100. In other words, the bank fully discharges when firing. This can be changed, however, using code 22.\r\n\r\nThe maximum range of phasers is 1000M; the maximum hit factor is 45 with a ten degree spread, 10 with a forty-five degree spread. Phaser hit factors are calculated by the following formula:\r\n\r\nhit = (bankunits)(firing%)sqrt(1-range\/1000)(45\/spread)\r\n\r\nPhasers fire in .2-second intervals starting with bank one. Phasers inflict heavy damage and casualties, but do not destroy shields as much as antimatter explosions do.\r\n\r\nA phaser is unable to fire if damaged, if firing into your blind side, or if completely discharged.\r\n\r\n[Return to Command List]\r\n\r\n2. Fire Photon Torpedos.\r\n\r\n[Tubes | all]\r\n\r\nThe Enterprise is equipped with six torpedo tubes, which, as phasers, can be set to automatically track a target or be manually rotated. Unless engineering is jettisoned, tubes only fire from 0-135 and 225- 360 degrees. Each tube fires all its antimatter pods, which are temporarily held suspended in a magno-photon force field. Photon torpedos can be fired directly at an enemy, laid out as a mine field, or scattered in an attacker's path as depth charges.\r\n\r\nTubes must be loaded (code 9) prior to firing. Normally, torpedos are launched at warp 12 in .2-second intervals, beginning with tube one. Photon torpedos have a proximity fuse of 200M. All of these values can be changed by using code 22.\r\n\r\nTorpedos must be launched with care since the antimatter pods which are fired can never be recovered. It is suggested that you not fire more than four torpedos at any one time, since a certain number of them do miss, or are destroyed by the enemy firing phasers at them. It is also suggested that you fire them at distant targets, beyond 1100M, to avoid the explosion radii of your own weapons. Hit factors resulting from antimatter explosions are calculated as follows:\r\n\r\nhit = 5(#podscontained)sqrt(1-range\/(50(#podscontained)))\r\n\r\nThe maximum hit factor of an antimatter device is five times the number of pods contained (in the case of torpedos, 50); its explosion radius is 50 time the number of pods contained (in the case of torpedos, 500). Antimatter explosions heavily weaken shields but do not damage equipment as much as phasers do. This formula also applies to vessels, engineering sections, and antimatter probe explosions.\r\n\r\nA photon torpedo's proximity fuse will not be activated by a cloaked ship.\r\n\r\nTubes are unable to fire if damaged, if firing into your blind side, or if unloaded.\r\n\r\n[Return to Command List]\r\n\r\n3. Lock Phasers.\r\n\r\n[Phasers | all] [Target Name]\r\n\r\nPhasers locked on an enemy vessel will automatically aim towards it. Although phasers may track a vessel which is in the firing blind side, they will not fire unless engineering is jettisoned. To fire at vessels in the blind spot, simply change course at least 55 degrees. Once a phaser is locked, it is not disengaged until the target is destroyed (in which case it is then rotated to zero degrees relative), relocked, manually overridden, or damaged.\r\n\r\nPhasers can not be locked onto cloaked enemy ships as they can not find the target. Phasers that were previously locked onto a non- cloaked ship will track the enemy's last known course and position when that ship cloaks.\r\n\r\n[Return to Command List]\r\n\r\n4. Lock Tubes.\r\n\r\n[Tubes | all] [Target Name]\r\n\r\nTubes lock and unlock in the same manner that phasers do. Tubes suffer the same locking limitations that phasers do in reference to cloaked ships.\r\n\r\n[Return to Command List]\r\n\r\n5. Manually Rotate Phasers.\r\n\r\n[Phasers | all] [Bearing]\r\n\r\nManually rotating phasers disengages any previous locks and positions them as directed, relative to your course. For example, if your course is 30, and phasers are rotated 45 degrees, they will hit a target bearing 75 degrees. Rotating phasers into you blind side is permissible, however, they will not fire.\r\n\r\n[Return to Command List]\r\n\r\n6. Manually Rotate Tubes.\r\n\r\n[Tubes | all] [Bearing]\r\n\r\nManually rotating tubes is similar to rotating phasers.\r\n\r\n[Return to Command List]\r\n\r\n7. Phaser Status.\r\n\r\nPhaser status reports the control (locks and damages), deployment, levels, firing percentages (normally 100), and charge\/discharge rates (normally +10) of all phasers. This command does not use a turn. Cf. Command 22.\r\n\r\n[Return to Command List]\r\n\r\n8. Tube Status.\r\n\r\nTube status reports the control, deployment, tube levels, launch speeds (normally 12), proximity delays (normally 200), and time delays (normally 10) of all tubes. This command does not use a turn. Cf. Command 22.\r\n\r\n[Return to Command List]\r\n\r\n9. Load\/Unload Tubes.\r\n\r\n[l | u] [Tubes | all]\r\n\r\nEach specified tube will be automatically loaded with 10 units or whatever remains in the engines, whichever is less. Tubes can also be unloaded if the need arises.\r\n\r\n[Return to Command List]\r\n\r\n10. Launch Antimatter Probe.\r\n\r\n[Pods] [Time] [Proximity] [Target | [ Course]]\r\n\r\nProbes are slow-moving devices equipped with internal guidance systems which allow them to chase an enemy vessel. Probes consist of at least ten antimatter pods which are launched from an undamaged probe launcher at warp three. As with torpedos, probes are set with time and proximity fuses, and use the same hit factor formula as do torpedos.\r\n\r\n[Return to Command List]\r\n\r\n11. Probe Control.\r\n\r\n[y | [n [Probe] [y | [n [Target | [ Course]]]]]]\r\n\r\nProbe control allows you to detonate or redirect probes which may have missed.\r\n\r\n[Return to Command List]\r\n\r\n12. Position Report.\r\n\r\nPosition reports are vital since valuable information on courses, bearings and ranges are given to aid the formation of good strategy.\r\n\r\nEach ship is listed along with its current speed, course, and bearing. Also listed is your relative bearing to that ship. A relative bearing of 0 means you are pointed directly at the ship, whereas a relative bearing of 180 means you are pointed directly away from the ship. Next is the reverse relative bearing, which gives the relative bearing of you with respect to the ship listed.\r\n\r\nCloaked ships show up with an asterisk (*) before the name, and the information displayed is the last available information on those ships. If no position report has been performed prior to the enemy ship engages a cloaking device, no information will be available on that ship. This order does not use a turn.\r\n\r\n[Return to Command List]\r\n\r\n13. Position Display.\r\n\r\n[Radius of scan]\r\n\r\nPosition displays, similar to radar scans, show objects which surround your vessel. The Enterprise is indicated by a `+', jettisoned engineering sections by a `#', probes by a `*', torpedos by a `:', and enemy vessels by the first letter of their names. Enemy vessels that are cloaked appear as lower case letters and remain in their last noted absolute position.\r\n\r\n[Return to Command List]\r\n\r\n14. Pursue An Enemy Vessel.\r\n\r\n[Target Name] [Warp Factor]\r\n\r\nThis order instructs the ship's navigation to face an enemy vessel whenever possible. Obviously it is impossible to pursue a cloaked vessel.\r\n\r\n[Return to Command List]\r\n\r\n15. Run From An Enemy Vessel.\r\n\r\n[Target Name] [Warp Factor]\r\n\r\nThis order, just the opposite of order #14, instructs the navigation to keep the stern of the Enterprise towards an enemy vessel whenever possible. Running from a cloaked vessel is not very useful.\r\n\r\n[Return to Command List]\r\n\r\n16. Manually Change Course and Speed.\r\n\r\n[Course] [Warp Factor]\r\n\r\nThis order instructs navigation to maintain a fixed course and speed. The following information applies to the above three orders:\r\n\r\nYour maximum rotation rate when turning is:\r\n\r\ndegrees per sec = 5 * (11 - current warp speed)\r\n\r\nAccordingly, you can turn 55 degrees at warp one, 50 at warp two, and so on down to 10 degrees at warp nine. In other words, the faster your speed, the less maneuverable you are. You are also less maneuverable if your warp drive is damaged or destroyed. Your maximum speed is warp nine, the enemy's is warp eleven.\r\n\r\n[Return to Command List]\r\n\r\n17. Damage Report.\r\n\r\nThis report informs you of certain equipment status. A destroyed computer make orders 3 (lock phasers), 4 (lock torpedos), 14 (pursue), 15 (run), 27 (initiate self-destruct), and 28 (abort self-destruct) impossible to execute. You will be required to manually rotate phasers and torpedos, and manually change course and speed. Destroyed sensors makes orders 13 (position display) and 18 (scan) impossible. A destroyed probe launcher prevents you from launching probes. A destroyed warp drive slows your maximum speed to warp 0.99 and severly limits your maneuverability. See order 20 about jettisoned engineering section. When your crew of 450 dies, your vessel is as good as dead. There are 350 men aboard each enemy vessel.\r\n\r\nAll of the above systems can be partially damaged. A damaged warp drive (common) lowers your maximum speed and maneuverability. A damaged probe launcher (sometimes) may refuse to launch. Damaged sensors (rare) may not be able to return position displays or be able to scan an enemy. A damaged computer (very rare) will sometimes refuse to lock onto targets, and in addition, when damaged, may lose some of the locks held by the weapons or by the helm.\r\n\r\nShield percentage is calculated by its energy drain times its operating efficiency. Efficiency starts at 100 and declines with each hit. No damages of any kind are incurred when a shield absorbs its first hit, no matter how great the hit. Shield one is 1.5 times as strong as the other three shields.\r\n\r\n`Efficiency' indicates the number of energy units being burned per warp-second. This number is initially one (.75 for enemy) and increases per hit.\r\n\r\n`Regeneration' indicates the number of energy units being gained per second. Initially set at 10, this number decreases per hit.\r\n\r\n`Fuel capacity' indicates the number of matter-antimatter pods a vessel has aboard. This number rapidly decreases with each torpedo or probe fired.\r\n\r\n`Fuel' indicates the number of matter-antimatter pods which are filled with energy. This number rapidly decreases when maintaining high warp speeds or firing phasers.\r\n\r\n[Return to Command List]\r\n\r\n18. Scan Enemy (Damage Report of Enemy).\r\n\r\n[Ship Name | Probe id | #Ship Name]\r\n\r\nAn enemy damage report is essentially the same as the Enterprise's. Sensor reports can not be had for cloaked vessels.\r\n\r\nBy giving the id number of a probe, information about it can be gathered. The same information can be gathered about a ship's (jettisoned) engineering by prepending a '#' before the ship's name.\r\n\r\n[Return to Command List]\r\n\r\n19. Alter Power Distribution.\r\n\r\n[Shld 1 drain [* | ... Sh 4]] [Phsr 1 drain [* | ... Ph 4]]\r\n\r\nThe synopsis of this command can be confusing. The first set of numbers gives the drains for each shield. All four shield drains can be specified, but if a star is used immediately after a shield drain (eg, 19 0.5 1*), then the remaining shields will all be given a drain equal to the number preceding the '*'. (Thus, in the above example, shield 1's drain is 0.5, whereas shields 2, 3, and 4 have a drain of 1). The same applies to the phaser drains.\r\n\r\nThe power circuits of all vessels are illustrated in Appendix 2. Dilithium crystals produce energy much like generators. This power is then used to maintain warp speeds, recharge antimatter pods in the engine reserve, recharge phaser banks, or maintain shield power. Your initial regeneration is ten, however, the shields normally drain four units and the engines require one unit per each warp-second.\r\n\r\nShields can be thought of as electromagnets. The more energy put into them, the stronger their force field becomes. Therefore, a shield's overall percentage is calculated by the following formula:\r\n\r\nshield percentage = (energy in)(effective %)\r\n\r\nNotice that dropping power to a shield has the same effect as having it hit. Notice also that if your regeneration drops below four, you may have to discharge your phaser banks to maintain full shield power.\r\n\r\nPhaser banks, similar to batteries, not only discharge (when firing), but also recharge. Initially, they are set to recharge fully in one second (+10) so that you can continually use them. However, they can discharge fully (-10) in one second to provide extra power to shields, warp engines, or engine reserve.\r\n\r\nUnder most conditions, you need not concern yourself with power distribution unless some special need arises. Distribution, for the most part, is automatic. Regeneration is calculated first; that power is placed in reserve, along with any discharged phaser units. Shield drain is calculated next, then the cloaking device, then phaser and engine drains.\r\n\r\nBe concerned with wasting power by indiscriminately firing phasers and torpedos, maintaining speeds over warp three, or dumping scores of units onto antimatter probes. Huge power losses cannot be made up in battle.\r\n\r\n[Return to Command List]\r\n\r\n20. Jettison Engineering.\r\n\r\nAlthough this order was never executed in the television series, it is quite possible according to its producer. Jettisoning engineering has serious consequences, but it may be your only course of action.\r\n\r\nOne would jettison engineering if being pursed by vessels, probes or torpedos, or as a suicidal gesture.\r\n\r\nThe following things happen when engineering is jettisoned: A: You lose all your fuel and reserve capacity; B: you lose your regeneration; C: you lose your warp drive; D: your lose your probe launcher; E: you lose your shields until you designate phasers to discharge; F: the engineering section itself decelerates to a stop; G: a ten second time delay on it is set (hopefully, when it does explode, you are far from its effects); H: you lose your cloaking device; I: your phasers and torpedos are now free to fire in any direction.\r\n\r\n[Return to Command List]\r\n\r\n21. Detonate Engineering.\r\n\r\n[nothing | [y | n]]\r\n\r\nThis order, issued after the previous one, manually detonates your engineering section. It may also be issued without the previous order, in which case you will be asked to confirm your (crazy) order.\r\n\r\n[Return to Command List]\r\n\r\n22. Alter Torpedo And Phaser Firing Parameters.\r\n\r\n[[y [Launch Speed] [Time Delay] [Proximity Fuse]] | n] [[y [Firing Percentage]] | n]\r\n\r\nThis option allows you to change the launch speeds, time and proximity delays of all torpedos. At the beginning of play, torpedos are launched at warp twelve, have ten second time fuses, and 200M proximity fuses. Any vessel or engineering section which comes within the proximity range will cause the torpedo to explode.\r\n\r\nPhaser firing percentages can also be altered. A phaser bank need not fire its full charge.\r\n\r\n[Return to Command List]\r\n\r\n23. Defenseless Ruse.\r\n\r\n[e | p]\r\n\r\nAnother name for this tactic is `playing dead'. When issued, your shields are dropped to zero, and power is diverted to your engines or phaser banks. Hopefully, the enemy will believe you dead and come too close or break off their attack. You should then be able to fire or run in the opposite direction.\r\n\r\n[Return to Command List]\r\n\r\n24. Attempt Corbomite Bluff(s).\r\n\r\nThere were two corbomite bluffs in the television series; one was against a midget operating a huge space vessel the other was against Romulan attackers. Both have been incorporated into this game. Whichever bluff issued is selected randomly.\r\n\r\n[Return to Command List]\r\n\r\n25. Surrender, If Possible.\r\n\r\nThis order sends a message to the enemy, saying that you wish to surrender. The enemy will then decide whether or not take you alive. You will have difficulty surrendering to Romulans, who have never accepted one.\r\n\r\n[Return to Command List]\r\n\r\n26. Ask Enemy To Surrender.\r\n\r\nThis order ends a message to the enemy demanding that they surrender. Please bear in mind that Romulans and Orions are the most suicidal.\r\n\r\n[Return to Command List]\r\n\r\n27. Initiate Self-Destruct.\r\n\r\nThis order activates a twenty-second self-destruct sequence. Because final destruct does not occur until ten turns after initialization, it is best to start it early, if at all. When you do explode, you hope that you explosive force will also destroy your attackers.\r\n\r\n[Return to Command List]\r\n\r\n28. Abort Self-Destruct.\r\n\r\nThis order, issued after the previous one, halts the destruct sequence. Self-destruct cannot be aborted withing five seconds to detonation.\r\n\r\n[Return to Command List]\r\n\r\n29. Survivors Report.\r\n\r\nThis order prints out the number of survivors on board all the ships. This order does not use a turn. Cloaked ships are reported as having `???' survivors.\r\n\r\n[Return to Command List]\r\n\r\n30. Print version number\r\n\r\nThis command, which does not use a turn, prints the current version of TREK73.\r\n\r\n[Return to Command List]\r\n\r\n31. Save game\r\n\r\nThis command saves the current game into a file. It can be restarted later by using the command line option `-r'.\r\n\r\n[DAS: Not yet implemented]\r\n\r\n[Return to Command List]\r\n\r\n32. Reprint Above List.\r\n\r\nThis command, which does not use a turn, lists code numbers and associated descriptions of each.\r\n\r\n[Return to Command List]\r\n\r\n33 And Up.\r\n\r\nFuture options, currently being designed in Trek74, will include Dr. Daystrom's paranoid, M5 multi-tronics computer which will take over while you relax; or battle someone else who is on another terminal; or battle in teams; or have a free-for-all against nine other players.\r\n\r\n[Return to Command List]\r\n\r\nOptions\r\n\r\nIn TREK73, all the names of crewmembers are taken from the Star Trek series. Through the use of options, the names, as well as other aspects of the game, can be changed to whatever you want.\r\n\r\nTo use the options, you must add the variable TREK73OPTS to your environment. A sample would be (using the C-shell): .br\r\n\r\nsetenv TREK73OPTS 'name=Jerk, ship=Boobyprize, terse'\r\n\r\nThe option string is a list of comma-separated options. Options are designated as either boolean or string options. Boolean options are turned on by typing their name and turned off by prepending 'no' to them. String options are set equal to the string which follows the \"=\".\r\n\r\nThere follows a list of all the options, what type it is, and an explanation of what they mean. The default for the option is in square brackets following the option.\r\n\r\n.IP \"terse BOOLEAN [noterse]\" This option, when set, turns off the information regarding the ship's purpose in the area. It thus reduces the amount of drek on the screen. If you are on a slow terminal, this is a nice option to have set.\r\n\r\n.IP \"shipname STRING [Enterprise]\" This option names your ship.\r\n\r\n.IP \"name STRING\" This option names the captain of the ship. If this option is not set, then the program will ask for a name. The captain is the one who must make all the decisions of strategy and tactics for the ship.\r\n\r\n.IP \"sex STRING\" This option gives the captain a gender. If this option is not set, the program will ask for it's value. If you respond with something that starts with other than \"m\" or \"f\", beware!\r\n\r\n.IP \"science STRING [Spock]\" This option names the science officer, who is responsible for checking the parameters of the captain's commands. It is also this officer's duty to report damage to the ship as well as scan for enemy damage.\r\n\r\n.IP \"engineer STRING [Scott]\" This option names the chief engineer of the ship. It is this officer's duty to report on the status of the ship, especially its energy supply and distribution of the same. The officer also controls the launching of anti-matter probes.\r\n\r\n.IP \"helmsman STRING [Sulu]\" This option names the ship's helmsman. This officer's duty is to control the speed of the ship and also controls the firing of the ship's weapons.\r\n\r\n.IP \"nav STRING [Chekov]\" This option names the ship's navigator, who is responsible for the navigation of the ship. This officer makes changes to the ship's course as directed by the captain. This officer also controls any anti-matter probes after they have been launched.\r\n\r\n.IP \"com STRING [Uhura]\" This option names the ship's communications officer. It is the duty of this officer to handle all communications between the ship and the rest of the universe.\r\n\r\n.IP \"enemy STRING [random]\" If this option is set, it tells the program which race you wish to fight. The available races are: Klingon, Romulan, Kzinti, Gorn, Orion, Hydran, Lyran, or Tholian. If the option is not set, the race you will fight is chosen at random.\r\n\r\n.IP \"foename STRING [random]\" If this option is set, it specifies the name of the commander of the enemy ship(s). If this option is not specified, the name is chosen at random.\r\n\r\n.IP \"class STRING [CA]\" This option specifies the kind of ship you are commanding. Allowable classes are: DN, CA, CL, and DD, standing for dreadnought, heavy cruiser, light cruiser, and destroyer. In general, the larger the ship, the more weapons and stronger shields you have, at the cost of less speed and maneuverability.\r\n\r\n.IP \"foeclass STRING [CA]\" This option specifies the kind of ship that you are fighting. The different classes are explained above.\r\n\r\n.IP \"silly BOOLEAN [nosilly]\" If this option is set, an additional race is added to the list of possible races to fight. This race is the Monty Pythons. Note that if you wish to always fight the Monty Python's, you merely have to set the enemy option above.\r\n\r\n.IP \"time STRING [30]\" Time is used to specify the time between commands. The longer this value, the more time may be used in issuing a command.\r\n\r\n.IP \"teletype BOOLEAN [noteletype]\" The teletype option causes some of the output to come out as it did in the original teletype version.\r\n\r\n.IP \"savefile STRING [$HOME\/trek73.save]\" The savefile option specifies where the data image is to be stored if the game is saved during play. ``~'' is not expanded, so the path should be explicit and fully expanded. 3\r\n\r\nCommand Line Options\r\n\r\nIn all cases, the arguments you place on the command line will supersede options in the environment.\r\n\r\nThe following is a description of the command line options:\r\n\r\n.IP \\-t Turns on terse mode. No initial scenario description is given. This is useful for terminals running at low baud rates. This option is normally off.\r\n\r\n.IP \\-c Allows the specification of the Federation captain's name.\r\n\r\n.IP \\-s Specify the sex of the captain of the Federation vessel.\r\n\r\n.IP \\-S Specify the name of the Science Officer of the Federation vessel.\r\n\r\n.IP \\-E Specify the name of the Chief Engineer of the Federation vessel.\r\n\r\n.IP \\-C Specify the name of the Communications Officer of the Federation vessel.\r\n\r\n.IP \\-N Specify the name of the Navigator of the Federation vessel.\r\n\r\n.IP \\-H Specify the name of the Helmsman of the Federation vessel.\r\n\r\n.IP \\-f Specify the name of the enemy commanding officer.\r\n\r\n.IP \\-r Specify the race of the enemy. The race should be one of the following: Klingon, Romulan, Kzinti, Gorn, Hydran, Lyran, Tholian, Orion, or Monty Python.\r\n\r\n.IP \\-d Set the delay time for command entry. Higher times can be useful for novices or for playing on very slow terminals.\r\n\r\n.IP \\-y Silly option. Adds the Monty Pythons as a possible enemy race. This option is normally off.\r\n\r\n.IP \\-T Teletype option. Causes certain parts of the output to come out as they did on the original teletype implementation. Doesn't do much for the game on crts. This option is normally off.\r\n\r\n.IP \\-n Specify the name of the Federation vessel. The default name for the Federation vessel is randomly chosen from a set of names.\r\n\r\n.IP \\-F Specify the class of the enemy vessel(s). Allowable classes are Destroyer (DD), Light Cruiser (CL), Heavy Cruiser (CA), and Dreadnought (DN). If the argument is none of the above, the program assumes that this is the name of a file where a player-designed ship is stored.\r\n\r\n.IP \\-l Specify the class of the Federation vessel. Available classes are the same as the enemy's.\r\n\r\n.IP \\-R Restore the game from the savefile. It is assumed that the TREK73OPTS contains the name of the savefile, otherwise it is not possible to restart the game with the -R option. In case the savefile name is not in TREK73OPTS, the game may be restored by issuing the command with the path to the savefile as the first argument. .bp\r\n\r\nDesigner Ships\r\n\r\nA feature of TREK73 allows you to have more than just the standard four ship types. The program .I shipyard (6) allows new ship types to be created. .I Shipyard in conjunction with the -F and\/or -l command line option allows battle between, say, the Enterprise and the Death Star.\r\n\r\nSee the manual page for .I shipyard for more information about designer ships.\r\n\r\nSimple Strategy\r\n\r\nIf you are a beginner, a simple strategy to follow is A: fight only one attacker; B: pursue him (code 14) at warp factor one; C: lock on all phasers (code 3); D: continuously take position reports (code 12) and watch his range; E: when he gets within 1000M, fire all phasers (code 1) and keep on firing when he is in range; F: When the enemy is out of range, take damage reports and scans of the enemy (codes 17 and 18).\r\n\r\nAfter a few trial games using the above strategy, you will want to become as efficient as the enemy at firing photon torpedos. Finally, when you master launching antimatter probes, you can designate more that one attacker. 3\r\n\r\nTrek73's History\r\n\r\nTrek73 was programmed on a Hewlett-Packard 2000C system by William K. Char, Perry Lee, and Dan Gee. In January, 1973, Mr. Char started with a few ideas and five months later, in May, introduced $SPACE, his first version.\r\n\r\nSpace had only 14 commands and comprised one 10K program. Response was so great that new ideas flooded in and in June, work on Trek73 was begun. Over 70 recordings of past shows were reviewed to reconstruct dialogue and vessels. On October 8, 1973, Trek73 was introduced.\r\n\r\nIn 1984, Dave Pare at Univeristy of California at San Diego and Chris Williams at the University of California at Berkeley independently translated the BASIC code into C to run under BSD UNIX[5].\r\n\r\nIn April 1985, Jeff Okamoto and Peter Yee, both at the University of California at Berkeley combined the two versions into one, fixing bugs and adding new commands and concepts.\r\n\r\nIdeas and bug reports should be sent to: .br ARPA: okamoto@ucbvax.berkeley.edu and yee@ucbvaxberkeley.edu .br UUCP: ..!ucbvax!okamoto and ..!ucbvax!yee .bp\r\n\r\nAPPENDIX 1\r\n.nf\r\n4\r\nSecondary Hull Primary Hull\r\n(engineering)\r\n-------\r\n:-----------------------------------------\\\\ | .5 | . . . .\r\n:: N C C - 1 7 0 1 |} |0 \/ 1|---&lt; . . . . .\r\n::________________________________________\/ | | . . . .\r\nwarp engines ^ | .5 | . . . .\r\n+++ |0 \/ 1|---&lt; . . . . . ===== | fuel | | . . . . |+| + OOOOO reserve | .5 | . . . . |+| ---------&gt; +++ ---&gt; OOOOO --- +++ ---&gt; |0 \/ 1|---&lt; . . . . .\r\n------- + ***** | | . . . .\r\n| | ***** shield | .5 | . . . .\r\n------- | \\\\ control |0 \/ 1|---&lt; . . . . . dilithium * \\\\ ------- . . . . crystal *** +++ shields generator * \\\\phaser control | -------- : : : | |-10\/10|-OOOO&gt;. . : : : | : :\r\n&lt;***: &lt;[=====| &lt;---+ |-10\/10|-**OO&gt;. . : : : :\r\nprobe launcher | |-10\/10|-****&gt;\r\nV |-10\/10|-****&gt;\r\n=*******= -------- phaser banks\r\nphoton =*******=\r\ntorpedo ===*******\r\ntubes =======*****\r\n========= *******\r\n========= *******\r\n+ Energy unit\r\nO Matter-anti-matter pod\r\n* Filled matter-anti-matter pod\r\n---+++---&gt; Energy transfer\r\n---***---&gt; Pod transfer\r\n.fi\r\n.bp\r\n\r\nAPPENDIX 2\r\n<pre>                                 <b>Heavy Cruiser<\/b>\r\n     .nf\r\n      7\r\n                                       Shield 2\r\n                                          |\r\n                             135            90\r\n                               \\\\\\\\,,,,,,,,''-``,,,,,,,,\r\n                            ,,''\\\\   .Phaser.Firing An``,,  45\r\n                          ,'     \\\\ \\\\125              gles`,\/\r\n                        ,'        \\\\. . Torpedo.          . `,\r\n        :------------------------\\\\ \\\\135_-----_ Fir        .  ,\r\n        :________________________\/   _-     1 -_ ing       .  `\r\n                      |    ||       \/        0  \\\\ Angles   .  |\r\n               Shield |  ,_^^_____\/|      _   7  | .       .  | Shield\r\n                  -180| [          {     (o)   1 } .       .  |0-\r\n                 3    |  `-vv-----\\\\|      -   C  | .       .  |   1\r\n                      |    ||       \\\\        C  \/  .       .  |\r\n        :-----------------------\\\\    -_     N _-  .        .  ,\r\n        :_______________________\/      -_____-   .       .   '\r\n                        `,       \/225. . . . . .       .   ,'\r\n                          `,    \/                    .   ,' \\\\\r\n                            ``,\/ \/235. . . . . . . . ,,''   315\r\n                              \/`````````,,_,,''''''''\r\n                             225            270\r\n                                          |\r\n                                               Shield 4\r\n     .fi\r\n     .bp<\/pre>\n<p>APPENDIX 3<br \/>\n2<\/p>\n<p>Weapon And Vessel Specifications<\/p>\n<p>Destroyer Class Vessel<\/p>\n<p>Enemy exceptions are enclosed within [brackets]<\/p>\n<p>.DS<br \/>\n.ta 2.8iR 3.3i<\/p>\n<p>Phasers<br \/>\nNumber of banks 2<br \/>\nMax range 1000 megameters<br \/>\nMax spread 90 degrees (45+45)<br \/>\nMin spread 20 degrees (10+10)<br \/>\nMax hit with 45 degree spread 10<br \/>\nMax hit with 10 degree spread 45<br \/>\nLoss of shield 1 per hit hit\/3<br \/>\nLoss of shields 2-3-4 per hit hit\/2<br \/>\nFiring angles with engineering 0-150, 210-360 degrees<br \/>\nMax charge per bank 10 units<br \/>\nMin charge or discharge time 1 sec<\/p>\n<p>Tubes<br \/>\nNumber of tubes 4<br \/>\nMax range 12,000 megameters<br \/>\nmax launch speed warp 12<br \/>\nMax time delay 10 seconds<br \/>\nMax proximity delay 500M<br \/>\nMax explosion radius 500M<br \/>\nMax number of pods launched 10<br \/>\nMax hit factor 50<br \/>\nLoss of shield 1 per hit hit\/2.25<br \/>\nLoss of shields 2-3-4 per hit hit\/1.5<br \/>\nFiring angles with engineering 0-160, 200-360 degrees<\/p>\n<p>Probes<br \/>\nNumber of probe launchers 1<br \/>\nMax range 3000M<br \/>\nMax launch speed 2<br \/>\nMax time delay 15 sec<br \/>\nMax proximity delay any<br \/>\nMax explosion radius 50 times number of pods<br \/>\nMax pods launched fuel available<br \/>\nMax hit factor 10 times number of pods<br \/>\nLoss of shields per hit same as torpedos<br \/>\nFiring angles with engineering all<\/p>\n<p>Vessels<br \/>\nMax turning rate 120 degrees<br \/>\nMax speed warp 10 [12]<br \/>\nMin units burned per warp-second .5 [.5]<br \/>\nCrew 200 [150]<br \/>\n.DE<\/p>\n<p>Weapon And Vessel Specifications<\/p>\n<p>Light Cruiser Class<\/p>\n<p>Enemy exceptions are enclosed within [brackets]<\/p>\n<p>.DS<br \/>\n.ta 2.8iR 3.3i<br \/>\n.ce<br \/>\nPhasers<br \/>\nNumber of banks 4<br \/>\nMax range 1000 megameters<br \/>\nMax spread 90 degrees (45+45)<br \/>\nMin spread 20 degrees (10+10)<br \/>\nMax hit with 45 degree spread 10<br \/>\nMax hit with 10 degree spread 45<br \/>\nLoss of shield 1 per hit hit\/4.5<br \/>\nLoss of shields 2-3-4 per hit hit\/3<br \/>\nFiring angles with engineering 0-140, 220-360 degrees<br \/>\nMax charge per bank 10 units<br \/>\nMin charge or discharge time 1 sec<\/p>\n<p>Tubes<br \/>\nNumber of tubes 4<br \/>\nMax range 12,000 megameters<br \/>\nmax launch speed warp 12<br \/>\nMax time delay 10 seconds<br \/>\nMax proximity delay 500M<br \/>\nMax explosion radius 500M<br \/>\nMax number of pods launched 10<br \/>\nMax hit factor 50<br \/>\nLoss of shield 1 per hit hit\/3<br \/>\nLoss of shields 2-3-4 per hit hit\/2<br \/>\nFiring angles with engineering 0-150, 210-360 degrees<\/p>\n<p>Probes<br \/>\nNumber of probe launchers 1<br \/>\nMax range 3000M<br \/>\nMax launch speed 2<br \/>\nMax time delay 15 sec<br \/>\nMax proximity delay any<br \/>\nMax explosion radius 50 times number of pods<br \/>\nMax pods launched fuel available<br \/>\nMax hit factor 10 times number of pods<br \/>\nLoss of shields per hit same as torpedos<br \/>\nFiring angles with engineering all<\/p>\n<p>Vessels<br \/>\nMax turning rate 77 degrees<br \/>\nMax speed warp 9 [11]<br \/>\nMin units burned per warp-second .75 [.5]<br \/>\nCrew 350 [250]<br \/>\n.DE<\/p>\n<p>Weapon And Vessel Specifications<\/p>\n<p>Heavy Cruiser Class<\/p>\n<p>Enemy exceptions are enclosed within [brackets]<\/p>\n<p>.DS<br \/>\n.ta 2.8iR 3.3i<\/p>\n<p>Phasers<br \/>\nNumber of banks 4<br \/>\nMax range 1000 megameters<br \/>\nMax spread 90 degrees (45+45)<br \/>\nMin spread 20 degrees (10+10)<br \/>\nMax hit with 45 degree spread 10<br \/>\nMax hit with 10 degree spread 45<br \/>\nLoss of shield 1 per hit hit\/4.5<br \/>\nLoss of shields 2-3-4 per hit hit\/3<br \/>\nFiring angles with engineering 0-125, 235-360 degrees<br \/>\nMax charge per bank 10 units<br \/>\nMin charge or discharge time 1 sec<\/p>\n<p>Tubes<br \/>\nNumber of tubes 6<br \/>\nMax range 12,000 megameters<br \/>\nmax launch speed warp 12<br \/>\nMax time delay 10 seconds<br \/>\nMax proximity delay 500M<br \/>\nMax explosion radius 500M<br \/>\nMax number of pods launched 10<br \/>\nMax hit factor 50<br \/>\nLoss of shield 1 per hit hit\/3<br \/>\nLoss of shields 2-3-4 per hit hit\/2<br \/>\nFiring angles with engineering 0-135, 225-360 degrees<\/p>\n<p>Probes<br \/>\nNumber of probe launchers 1<br \/>\nMax range 3000M<br \/>\nMax launch speed 2<br \/>\nMax time delay 15 sec<br \/>\nMax proximity delay any<br \/>\nMax explosion radius 50 times number of pods<br \/>\nMax pods launched fuel available<br \/>\nMax hit factor 10 times number of pods<br \/>\nLoss of shields per hit same as torpedos<br \/>\nFiring angles with engineering all<\/p>\n<p>Vessels<br \/>\nMax turning rate 55 degrees<br \/>\nMax speed warp 9 [11]<br \/>\nMin units burned per warp-second 1 [.75]<br \/>\nCrew 450 [350]<br \/>\n.DE<\/p>\n<p>Weapon And Vessel Specifications<\/p>\n<p>Dreadnought Class<\/p>\n<p>Enemy exceptions are enclosed within [brackets]<\/p>\n<p>.DS<br \/>\n.ta 2.8iR 3.3i<\/p>\n<p>Phasers<br \/>\nNumber of banks 6<br \/>\nMax range 1000 megameters<br \/>\nMax spread 90 degrees (45+45)<br \/>\nMin spread 20 degrees (10+10)<br \/>\nMax hit with 45 degree spread 10<br \/>\nMax hit with 10 degree spread 45<br \/>\nLoss of shield 1 per hit hit\/7.5<br \/>\nLoss of shields 2-3-4 per hit hit\/5<br \/>\nFiring angles with engineering 0-125, 235-360 degrees<br \/>\nMax charge per bank 10 units<br \/>\nMin charge or discharge time 1 sec<\/p>\n<p>Tubes<br \/>\nNumber of tubes 8<br \/>\nMax range 12,000 megameters<br \/>\nmax launch speed warp 12<br \/>\nMax time delay 10 seconds<br \/>\nMax proximity delay 500M<br \/>\nMax explosion radius 500M<br \/>\nMax number of pods launched 10<br \/>\nMax hit factor 50<br \/>\nLoss of shield 1 per hit hit\/6<br \/>\nLoss of shields 2-3-4 per hit hit\/4<br \/>\nFiring angles with engineering 0-135, 225-360 degrees<\/p>\n<p>Probes<br \/>\nNumber of probe launchers 1<br \/>\nMax range 3000M<br \/>\nMax launch speed 2<br \/>\nMax time delay 15 sec<br \/>\nMax proximity delay any<br \/>\nMax explosion radius 50 times number of pods<br \/>\nMax pods launched fuel available<br \/>\nMax hit factor 10 times number of pods<br \/>\nLoss of shields per hit same as torpedos<br \/>\nFiring angles with engineering all<\/p>\n<p>Vessels<br \/>\nMax turning rate 30 degrees<br \/>\nMax speed warp 8 [10]<br \/>\nMin units burned per warp-second 2 [1.5]<br \/>\nCrew 600 [450]<br \/>\n.DE<\/p>\n<p>APPENDIX 4<br \/>\n2<\/p>\n<p>Initial Settings<\/p>\n<p>Destroyer class<br \/>\n1<\/p>\n<p>Enemy exceptions are enclosed within [brackets]<\/p>\n<p>.DS<br \/>\n.ta 2.8iR 3.3i<br \/>\nCrew 200 [150]<br \/>\nSpeed Warp 1<br \/>\nCourse 0 [0-360] degrees<br \/>\nEngine Efficiency .5 [.5]<br \/>\nFuel Level 100<br \/>\nFuel Capacity 150<br \/>\nRegeneration Rate per Second 8.0<br \/>\nHelm Lock None [None]<br \/>\nPhaser Deployment 0, 0<br \/>\nPhaser Bank Levels 2 x 10 units<br \/>\nPhaser Charge\/Discharge Rates 2 x 10 units<br \/>\nShield Drain 2 x 1 units<br \/>\nShield Percentage 2 x 100<br \/>\nTorpedo Deployment 60, 0, 0, 300<br \/>\nTube Levels 4 x Zero<br \/>\nTotal Charged Pods Available 190<\/p>\n<p>.DE<\/p>\n<p>Initial Settings<\/p>\n<p>Light Cruiser Class<\/p>\n<p>Enemy exceptions are enclosed within [brackets]<\/p>\n<p>.DS<br \/>\n.ta 2.8iR 3.3i<br \/>\nCrew 350 [250]<br \/>\nSpeed Warp 1<br \/>\nCourse 0 [0-360] degrees<br \/>\nEngine Efficiency .75 [.5]<br \/>\nFuel Level 125<br \/>\nFuel Capacity 175<br \/>\nRegeneration Rate per Second 10<br \/>\nHelm Lock None [None]<br \/>\nPhaser Deployment 90, 0, 0, 270<br \/>\nPhaser Bank Levels 4 x 10 units<br \/>\nPhaser Charge\/Discharge Rates 4 x 10 units<br \/>\nShield Drain 4 x 1 units<br \/>\nShield Percentage 4 x 100<br \/>\nTorpedo Deployment 60, 0, 0, 300<br \/>\nTube Levels 4 x Zero<br \/>\nTotal Charged Pods Available 190<\/p>\n<p>.DE<\/p>\n<p>Initial Settings<\/p>\n<p>Heavy Cruiser Class<\/p>\n<p>Enemy exceptions are enclosed within [brackets]<\/p>\n<p>.DS<br \/>\n.ta 2.8iR 3.3i<br \/>\nCrew 450 [350]<br \/>\nSpeed Warp 1<br \/>\nCourse 0 [0-360] degrees<br \/>\nEngine Efficiency 1 [.75]<br \/>\nFuel Level 150<br \/>\nFuel Capacity 200<br \/>\nRegeneration Rate per Second 10<br \/>\nHelm Lock None [None]<br \/>\nPhaser Deployment 90, 0, 0, 270<br \/>\nPhaser Bank Levels 4 x 10 units<br \/>\nPhaser Charge\/Discharge Rates 4 x 10 units<br \/>\nShield Drain 4 x 1 units<br \/>\nShield Percentage 4 x 100<br \/>\nTorpedo Deployment 120, 60, 0, 0, 300, 240<br \/>\nTube Levels 6 x Zero<br \/>\nTotal Charged Pods Available 190<\/p>\n<p>Initial Settings<\/p>\n<p>Dreadnought Class<\/p>\n<p>Enemy exceptions are enclosed within [brackets]<\/p>\n<p>.DS<br \/>\n.ta 2.8iR 3.3i<br \/>\nCrew 600 [450]<br \/>\nSpeed Warp 1<br \/>\nCourse 0 [0-360] degrees<br \/>\nEngine Efficiency 2 [1.5]<br \/>\nFuel Level 200<br \/>\nFuel Capacity 200<br \/>\nRegeneration Rate per Second 15<br \/>\nHelm Lock None [None]<br \/>\nPhaser Deployment 90, 90, 0, 0, 270, 270<br \/>\nPhaser Bank Levels 6 x 10 units<br \/>\nPhaser Charge\/Discharge Rates 6 x 10 units<br \/>\nShield Drain 4 x 1 units<br \/>\nShield Percentage 4 x 100<br \/>\nTorpedo Deployment 120, 60, 60, 0, 0, 300, 300, 240<br \/>\nTube Levels 8 x Zero<br \/>\nTotal Charged Pods Available 190<\/p>\n<p>APPENDIX 5<\/p>\n<p>Designer's Notes<\/p>\n<p>When I was about 10 or 11, I would go to the Lawrence Hall of Science quite frequently. There, on their time-sharing system, I would sit at a Teletype Model 33 and play trek.<\/p>\n<p>Sadly, LHS replaced their system and trek went away. It was my intention that it should not be forgotten. I had had a copy of a slightly different version of trek written in BASIC, but it was sadly unimplementable on my Apple computer.<\/p>\n<p>When I learned of an implementation of trek written in C, I jumped at the chance to bring it to the systems here at UC Berkeley. At that time, the game was mostly a direct translation of the original BASIC source. Many of the commands and routines were either missing or faulty. With Peter Yee, we worked together to fix up the program and managed to get it running.<\/p>\n<p>Once it was running, the time came for improvements. I admit to pulling many concepts from the game Star Fleet Battles, most notably the different races (Hydrans, Lyrans, etc.) and the ship names.<\/p>\n<p>This version of the game represents many hours of thinking and debugging. I hope you enjoy playing it as much as I did coding it.<\/p>\n<p>-Jeff Okamoto<\/p>\n<p>My first experience with TREK73 was also at the Lawrence Hall of Science. I had been taking classes in Time-Sharing Basic and noticed that other people always talked about a game called $TREK that was a real CPU hog and was usually turned off. Naturally I was intrigued. Soon I was paying $2.00 an hour for the chance to play that game. Many long hours and quite a few dollars went into playing $TREK, so it was with a certain sadness that I learned that the DG Ecllipse on which $TREK ran was being phased out. I made several attempts to obtain the source before it went away, but I was unable to get it.<\/p>\n<p>Fortunately for me, Dave Pare at UC San Diego was also a fan of the game, and more importantly, he had an outdated copy of the source from an HP 2000. Dave had started to implement the game in C to run under 4.2 BSD UNIX. Expressing my interest to Dave, I was able to get a copy of Dave's code and thus the TREK Project at Berkeley was started. I spent endless hours tweaking with Dave's code, implementing some of the fifteen or so commands that he had not yet translated.<\/p>\n<p>At about this time, I learned that Christopher Williams, here at Berkeley, had also tried to implement the game in C. What is more, he had a copy of the source (in BASIC) from Berkeley High School, and had implemented most of the commands. Merging the work that Chris had done into my copy of Dave's work led to a fairly complete version of the game. There still remained a large number of bugs, poor ideas, and outright mistakes in the code, but it ran.<\/p>\n<p>Jeff Okamoto, being a fan of the game and a Star Fleet Battles player, was greatly interested in hacking on the game to bring up to par with the version that ran at LHS and to extend it even beyond that. Thus our partnership was formed and the current version of the game represents several hundred hours of our joint work (and play). Also represented are the suggestions, modifications and bug fixes we received from numerous people, including (to name a few) Matt Dillon, David Sharnoff, Joel Duisman, all at Berkeley, and Roger Noe at Rockwell International.<\/p>\n<p>It is hoped that this implementation of a classic game will bring joy (and perhaps fond remembrances) to all who play.<\/p>\n<p>Live Long and Prosper, -Peter Yee<\/p>\n<p>[DAS]<\/p>\n<p>I never knew any of the people mentioned above. I used to play Trek73 from 1977-1981 when I was in high school on our HP2000-F system. I always wanted a version I could run on my own computer, and when I got my first Apple back in 1980 I started converting the program from HP Basic to Applesoft. The Apple version ran so slowly it wasn't worth playing, and I stopped my conversion work.<\/p>\n<p>My brother, who for the two years before I entered high school used to play Trek73, called me up one day and told me that a version written in C had come across the unix network where he worked, which was Bell Laboratories in Naperville, IL.<\/p>\n<p>A week later I stopped in and downloaded all the files to a PC that was sitting around. There were quite a few differences between the version of C that ran under unix and the Lattice C compiler which I had for my PC.<\/p>\n<p>After much work and some cursing, what you see before you had been completed -- Trek73 which ran on the IBM PC as well as the clones.<\/p>\n<p>There are still some problems. The save game feature has not yet been converted, as the unix file calls were different from the calls I had under Lattice. The timer for your inputs has not been set up. Due to the fact that an integer under Lattice is 16 bits wide, it was possible to run off the edge of the universe. This has recently been updated to longer integers and should no longer be an issue. These problems will be cured as I find the time to cure them.<\/p>\n<p>There are still some references to Unix unique things in both the program and in this .DOC file. I released this in its current form to get people to start playing the game and giving some feedback. I will be making changes constantly, so the more feedback I get the better the game will become.<\/p>\n<p>In the original game, there was only one class of ship. This is the ship you will fly or fight if you do not specify any command line options. I suggest you play and master the original before you start experimenting with the options (especially I just finished converting the option parsing routines and haven't fully tested them yet).<\/p>\n<p>Please send any bugs, comments, donations, suggestions, etc. to me. If accompanied by a contribution ($20 suggested, but never required) I'll give it more attention than if it isn't \ud83d\ude09 If the bug appears to exist in the original Unix code, I will forward the information to the original authors.<\/p>\n<p>I can be reached at the following address:<\/p>\n<p>David A. Soussan<br \/>\n368 Rimini Ct.<br \/>\nPalatine, IL 60067<br \/>\n(708) 934-0905 - leave a message.<br \/>\ndavids[\"at\"]comm.mot.com<\/p>\n<p>I hope you enjoy this game as much as I did (and still do!)<\/p>\n<p>-David<\/p>\n<hr \/>\n<p>1. Star Trek is a registered trademark of Paramount Pictures.<br \/>\n2. Star Fleet Battles is a trademark held jointly by Task Force Games and Amarillo Design Bureau.[see the Unofficial SFB Home Page]<br \/>\n3. Although technically incorrect, it does save the player from having to compute cube roots.<br \/>\n4. This saves the player from having to work out problems in spherical geometry.<br \/>\n5. UNIX is a registered trademark of Bell Laboratories.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trek73 is a computer space-battle simulation based on the original Star Trek television series. As the name suggests, it was created in 1973 by William K. Char, Perry Lee, and Dan Gee. Many young Bay Area residents played the game on a teletype connected to the LHS DECISION computer located at the Lawrence Hall of &hellip; <a href=\"https:\/\/kermitmurray.com\/trek73\/description\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Description<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-32","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kermitmurray.com\/trek73\/wp-json\/wp\/v2\/pages\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kermitmurray.com\/trek73\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kermitmurray.com\/trek73\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kermitmurray.com\/trek73\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kermitmurray.com\/trek73\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":8,"href":"https:\/\/kermitmurray.com\/trek73\/wp-json\/wp\/v2\/pages\/32\/revisions"}],"predecessor-version":[{"id":71,"href":"https:\/\/kermitmurray.com\/trek73\/wp-json\/wp\/v2\/pages\/32\/revisions\/71"}],"wp:attachment":[{"href":"https:\/\/kermitmurray.com\/trek73\/wp-json\/wp\/v2\/media?parent=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}