The story of Super Star Trek
Before home computers were even invented, there were people programming games. They had no graphics, and they ran on mainframes, so only a lucky few ever got to enjoy them. This is the story of one of the most famous of those titles, a game that made history.
Super Star Trek is an old text-only game, an early example of a turn-based space strategy sim, written in BASIC. In this game, you are the captain of the starship Enterprise, and your mission is to scout Federation space and eliminate all the invading Klingon ships. You have to manage the ship's energy carefully, use phasers and torpedoes to destroy the Klingons, and find starbases to repair damage and replenish your energy. All of this, rendered with a few characters on screen and a lot of imagination.

Super Star Trek is probably the most famous early text-only game ever created — or at least as famous as The Oregon Trail or Zork — and it inspired many other videogames. Since the code circulated freely, over the years it was changed and improved many times, and there are literally thousands of versions out there. All of them are nice, but my preference goes to the classic 1978 version. It's simple but addictive, like all good games should be. In fact, I played it a lot, and I tell how it all started in Rewriting the code. But first, a bit of history.
The story of the game
According to Games of Fame, Mike Mayfield wrote the initial Star Trek game in 1971 for the Sigma 7 mainframe. The program didn't even require a screen. You could play it with a teleprinter: you entered a command after the prompt, and the game printed a few lines in return. How cool is that?

In 1972 Mayfield rewrote the game in HP BASIC, and it was published by Hewlett-Packard. This is the version most people consider the "standard" Star Trek game. Since anyone could get the code, anyone was free to change it or adapt it, and several versions appeared over the years.
I later had the chance to meet David H. Ahl, and he told me the rest of the story himself. Someone submitted Mayfield's game to DECUS, the DEC user group, and Ahl, who worked at DEC at the time, included it in 101 BASIC Computer Games, published by DEC in 1973, under the name SPACWR.
In 1974, a Westinghouse employee, Bob Leedom, took that DEC version and extended it dramatically. He worked on a Data General Nova 800, a computer with 32K of RAM, so he had room to expand and improve the code. He enhanced the mechanics, improved the map, changed the original numeric commands into something more comprehensible such as NAV, PHA and COM, and added occasional feedback from Spock, Uhura, Sulu, Scotty and the others. Fantastic! He called it Super Star Trek.

Leedom sent his version to Ahl just about the time Ahl was leaving DEC. The company had no interest in it, so Ahl hung on to it and published it in the November/December 1975 issue of Creative Computing, the magazine he had founded, as Super Star Trek. Paramount, which owned the rights to the name, was not happy, and Ahl took some heat. But in 1977 he had a nice conversation with Gene Roddenberry and got his permission to use the Star Trek name.
At Creative Computing, Ahl and Steve North converted the game to standard Microsoft BASIC, which they kept calling Super Star Trek. This final version appeared in January 1978 in the first edition of BASIC Computer Games — Microcomputer Edition, published by Creative Computing.

It's worth remembering that most of this happened before the first mass-market home computers: the Commodore PET, the Apple II and the TRS-80 were all released in 1977.
The book is reportedly the first computer book to sell one million copies. Some people say it's because the name Star Trek was in it. True or not, the game became hugely popular, mainly because, in the meantime, home computers had arrived. Suddenly there were thousands of machines capable of running BASIC and, consequently, BASIC computer games.
Ready to play?
If you want to take the centre seat, press Play. And if you need a hand with the commands, start from How to play.