1971 · Strategy · BASIC / SDS Sigma 7
Star Trek (1971) is Mike Mayfield's text strategy game, in which the Enterprise hunts Klingons across an 8×8 galaxy before time runs out.
The galaxy is a grid of 8×8 quadrants, each split into 8×8 sectors. Moving, fighting and shields all drain energy, which is restored at starbases. Phasers weaken with distance, while photon torpedoes destroy a Klingon in one hit but must be aimed by angle. The game ends when the Enterprise is destroyed, every Klingon is gone, or time runs out.
Mayfield wrote it in BASIC in his last year of high school on an SDS Sigma 7 mainframe, then ported it to the HP 2000C in 1972. Versions for many other computers followed.