Codex Gamicus

Trek73 is a computer game based on the original Star Trek television series. It was created in 1973 by William K. Char, Perry Lee, and Dan Gee. The game was played via teletype.[1] Roderick Perkins adapted the program for the LHS DECISION computer located at the Lawrence Hall of Science in Berkeley, California. Dave Pare and Chris Williams translated the BASIC into C and Jeff Okamoto, Peter Yee, and others corrected and enhanced the code.


The game simulates battles between space ships of the Star Trek franchise. Through text commands, a player may order the ship to perform certain tasks in battle against an opposing vessel.


In January 1973, William K. Char[2] began programming a space battle game in BASIC on a time-shared Hewlett-Packard 2000C system at Wilson High School in San Francisco. The first version of what was then called $SPACE was introduced in May 1973. In June 1973, Char, Perry, Lee, and Gee started programming TREK73; it was completed October 8, 1973. Roderick Perkins[3] adapted TREK73 for the DECISION computer at the Lawrence Hall of Science in 1974.[4] The game was played by Homebrew Computer Club member Steve Dompier, who purchased a teletype for his home so that he could play the game for hours without interruption.[5]

Other versions[]

Dave Pare and Chris Williams at the University of California, Berkeley independently translated TREK73 into the C programming language in 1984. In April 1985, Jeff Okamoto and Peter Yee combined the Pare and Williams versions into one. The command set was expanded to 31. This version had enhancements based on the boardgame Star Fleet Battles. The player was also capable of designing his own ship.[6] David Soussan then ported the Okamoto/Yee version to MS-DOS, having played it in high school.[7]

While at the University of Iowa, Tom Nelson and Mike Higgins played and made modifications to TREK73 on one of the University HP2000 system. In 1984 they created Begin - A Tactical Starship Simulation for MS-DOS. Begin was not a port of TREK73. It was written in C and was very much inspired by TREK73.[8] In 1993 Higgins released Begin 2, a VGA version for MS-DOS, and in 2009 Nelson released Begin 3 for Windows.

In 1985 while at the University of Michigan, Howard Chu wrote a version of TREK73 in Turbo Pascal for MS-DOS. This may have been the first version to use a screen-oriented interface and function-key command input. [9]

A version of TREK73 was included on Disk 10 of Fred Fish's Fish Disks for Amiga computers.[10]

Around 1990, Chu wrote a version in C/curses for the Amiga. Unlike his Turbo Pascal version, this game is fully implemented. It uses the numeric keys instead of function keys.[9]

See also[]


  1. Korns, Dave (2009-05-18). My First Favorite Computer Game. Retrieved on 2010-07-13
  2. Star Trek. Pete Turnbull's website ( (26 March 2005). Retrieved on 13 July 2010
  3. Roderick Perkins Bio. Retrieved on 2007-10-03
  4. LaPedis, Ron (2009-05-04). Cloud Computing is Just Time Sharing Warmed Over. Seacliff Partners International, LLC. Retrieved on 2010-07-13
  5. Levy, Steven (2004). Hackers: heroes of the computer revolution. New York: Dell Pub., 1994. ISBN 0385312105, 9780385312103. 
  6. Soussan, David. TREK73: A Star Trek Battle Simulation. Retrieved on 2010-07-17
  7. Soussan, David. Cool Stuff. Retrieved on 2009-09-23 (download at the bottom of the page)
  8. Nelson, Tom (2009-03-14). Begin History - Star Fleet Battles / Trek73. Begin: A Tactical Starship Simulation. Yahoo! Groups. Retrieved on 2010-07-17
  9. 9.0 9.1 Chu, Howard (2007-03-05). Howard's Miscellaneous Page. Retrieved on 2010-07-17
  10. Fish, Fred. Fish Disk 10. Fish Disks. Retrieved on 2009-09-25[1]

External Links[]