Star Trek is a text-based strategy video game based on the Star Trek television series (1966–69) and originally released in 1971. In the game, the player commands the USS Enterprise on a mission to hunt down and destroy an invading fleet of Klingon warships. The player travels through the 64 quadrants of the galaxy to attack enemy ships with phasers and photon torpedoes in turn-based battles and refuel at starbases. The goal is to eliminate all enemies within a random time limit.

Mike Mayfield wrote the game in the BASIC programming language for the SDS Sigma 7 mainframe computer with the goal of creating a game like Spacewar! (1962) that could be played with a teleprinter instead of a graphical display. He then rewrote it for the HP 2000C minicomputer in 1972, and it was included in Hewlett-Packard's public domain software catalog the following year. It was picked up from there by David H. Ahl, who ported it with Mary Cole to BASIC-PLUS and published the source code in the Digital Equipment Corporation Edu newsletter. It was republished with other computer games in his best-selling 101 BASIC Computer Games book. Bob Leedom then expanded the game in 1974 into Super Star Trek.

Ahl left DEC and started Creative Computing magazine in 1974. He began porting the games from 101 to Microsoft BASIC, with the exception of Star Trek, where he ported Leedom's version rather than Mayfield's original. The result was released in 1978 under the new name BASIC Computer Games, just as the first microcomputers able to run the game were coming to market. BASIC Computer Games went on to become the first million-selling computer book, and versions of the game were available for almost all personal computers of the era. Additionally, dozens of variants and expansions were made for a variety of other systems, based either on Leedom's or the original Mayfield versions.

Gameplay

Star Trek is a text-based strategy video game based on the Star Trek television series in which the player, controlling the USS Enterprise starship, flies through the galaxy and hunts down Klingon warships within a time limit. The game starts with a short text description of the mission before allowing the player to enter commands. Each game starts with a different number of Klingons, friendly starbases, and stars spread throughout the galaxy. The galaxy is depicted as an 8-by-8 grid of "quadrants". Each quadrant is further divided into an 8-by-8 grid of "sectors". The number of stars, Klingons, and starbases in any one quadrant is set at the start of the game, but their exact position changes each time the player enters that quadrant.

<!-- LEGACY -->

</references>

Sources

  • HP 2000C BASIC source code for Mike Mayfield's STTR1 version
  • Playable version of Super Star Trek
  • Playable version of Super Star Trek with audio effects
  • Ports of Super Star Trek in C, JavaScript, Pascal, Seed7, Clojure, and Perl
  • Playable version of the Star Trek 3.5 TRS-80 port
  • A collection of the source code of various Star Trek style games, including the original Mayfield version