The original Lunar Lander game was a 1969 text-based game called Lunar, or alternately the Lunar Landing Game. Lunar Lander was originally written as a text-based computer game in the FOCAL programming language for the Digital Equipment Corporation (DEC) PDP-8 computer by Jim Storer while a student at Lexington High School (Massachusetts) in the autumn of 1969.
Storer submitted the game to the DEC users' newsletter, which distributed the source code to readers. Other versions of the concept were written soon after: a version called Rocket was written in BASIC by Eric Peters at DEC, and a third version, LEM, was written by William Labaree II in BASIC, among others.
A full game of Rocket, one of the early versions of the game type. The player has only spent fuel at the last moment, and as a result has crashed into the moon.
All three text-based games require the player to control a rocket attempting to land on the moon by entering instructions to the rocket in a turn-based system in response to the textual summary
Hamurabi is a text-based game of land and resource management and is one of the earliest computer games. It was originally written in FOCAL in 1968, but it was ported to BASIC in 1971. Like many BASIC games of the time, Hamurabi was mainly a game of numeric input. As the ruler, the player could buy and sell land, purchase grain and decide how much grain to release to his kingdom.