The Magnet 22: Moon Rocket Landing game on a 1974 pocket calculator
"YOU BLASTED A NEW LUNAR CRATER 126.23 FT. DEEP"
In the 1970s, my father was an electrical engineer at IBM in Boulder, Colorado. One evening in 1974, he came home from work with a programmable pocket calculator called the HP-65, made by Hewlett-Packard. It was way cooler than the simple pocket calculator we already had in the house, which did the four basic arithmetic functions and cost $100 ($525 adjusted for inflation). The HP-65 was much more powerful, with a price to match: $795 ($4,174 in 2021 dollars). It was a real computer with its own programming language. It was used in 1975 by Apollo astronauts to calculate how to dock with the Soyuz Soviet space station (here’s an hour-long training video that Hewlett-Packard produced in 1974 that shows the remarkable capabilities of the HP-65).
I was 13 at the time and was fascinated by it. I spent weeks learning how to use it. One of the curious things about it was that you had to use Reverse Polish Notation (RPN). That meant that instead of tapping 2 + 7 to add 2 and 7, you had to tap 2 ENTER 7 +. It was confusing at first, but I quickly got used to it.
The HP-65 Owner’s Handbook was exceedingly clear and well-written (here’s a PDF of the handbook), with the blue and gold text to match the calculator’s multifunction keys' colors.
What really set the HP-65 apart from other calculators was its programmability. It came with a case of magnetically coated cards to store and run programs. The programs were small—each card had two tracks, and each track stored just 952 bits of data. The “HP Standard Pac” came with 19 programs stored on 40 cards, with titles such as “Personal Investment,” “Quadratic Equation,” “Reconcile Checking Account,” and “The Game of Nimb.” It also came with blank cards to store your programs and a red-colored abrasive card to clean the read/write head when it became dirty. HP also sold different Pacs, including an Electrical Engineering Pac, a Math Pac, a Statistics Pac, an Aviation Pac, and a Medical Pac.
To use a card, you inserted it into a slot at the top of the calculator. A motorized rubber wheel in the calculator pulled the card across the read/write head to store or retrieve the card's data.
The program I was most interested in didn’t come in any of HP’s published Pacs. It was on a card with the title “Moon Rocket Lander” penciled in. Someone at IBM had keyed in the program and recorded it on one of the cards my father had brought home.
Moon Rocket Lander was a simulation game in which you are challenged with safely piloting a lunar lander to the Moon's surface. When the game starts, you are 500 feet above the Moon and falling at 50 feet/second. You have 60 units of fuel. You have to tell the program how much fuel to burn to try to make a soft touchdown. After entering your fuel units, the calculator would display your new altitude, speed, and remaining fuel. Then you would enter a new fuel unit value and press enter. You’d repeat until you landed. If you landed with a velocity of anything other than zero, you lost the game.
It was hard to win, and there were many ways to screw up. If you ran out of fuel before you were very close to the surface, the rocket would slam into the moon, and you would die. If you used too little fuel, the rocket would accelerate toward the surface, and you would crash and die. If you used too much fuel, the rocket would accelerate in the opposite direction. I eventually came up with a winning fuel-burning strategy through many trial-and-error attempts.
Moon Rocket Lander was the second most requested game, as you can see on page 2 of the first issue of HP-65 Users’ News. (The newsletter called it “Moon Rocket Landing,” not “Moon Rocket Lander,” which is the more common name.)
When the HP-67 (HP-65’s successor ) came out in 1976, HP published a Moon Rocket Lander version.
I learned about the game's history in the January 14, 2021 edition of Aaron A. Reed’s excellent 50 Years of Text Games newsletter. A 17-year-old named Jim Storer wrote it in 1969 after watching Neil Armstrong heroically land Apollo 11’s Lunar Module Eagle on the Moon. From the newsletter:
On July 20, 1969, Apollo 11’s Lunar Module Eagle touched down on the moon, though it had been a close call. With little spare fuel to begin with, pilot Neil Armstrong had needed to dodge unexpected boulders and craters to find a level spot to put down after the LEM had drifted ahead of its planned landing site. When he finally set down the delicate craft, only seconds of descent fuel remained. 17-year-old Jim Storer had been glued to the television at his family home in Massachusetts for the whole mission, and that fall he pitched a project to the teacher in charge of Lexington High’s PDP-8 computer: a game that would recreate the experience of landing the LEM on the moon.
Storer’s game printed no title, but the filename, fitting neatly into the operating system’s six-character limit, was ROCKET. The program ran to only 39 tight lines of code in FOCAL, a language that had been designed to make programming easier for students but which was rapidly losing ground against the similar BASIC, which had even clearer syntax. In the game, the player receives rows of data, one at a time, representing the elapsed time, altitude, velocity, and fuel remaining in their simulated lunar lander’s tanks, and contributes a single number each turn to the rightmost column, representing the amount of fuel to burn in the next ten-second interval.
Reed’s article goes on to describe the rapid spread of Storer’s game and the impact it made in the world of text and simulation games.
If you’re interested in giving Lunar Landing a try, here’s a web-based version. My daughter and I took turns trying to beat it. Here’s the best I could do (so far!):
Let me know in the comments how big of a crater you made on impact.
(CuVee software has an iOS simulation of the HP-65 for $2.99. I bought it, and it’s just like the original HP-65. It comes with a bunch of preprogrammed cards, too, but not Moon Rocket Lander.)
Memory is a weird thing. I could have recalled one million things from my life and not remembered the moon rocket landing game on the HP-65. However, within the first paragraph of your article, I was right back to twelve years old and being obsessed with this game on Mr. Pomerantz’s (my junior high math teacher) funky, chunky new calculator. I remember the strip. I remember plugging in numbers to see what would happen. I remember having fun. I remember thinking that the calculator was so really cool.
That memory made me think of the HP plotter that teacher had. We used to draw “race tracks” on the plotter paper and then three or four people could have a “race” by each controlling the input of a different colored pen. A couple of years later I arrived at high school where they had a general purpose computer with a tape reader and a bank of toggle switches that had to be flipped in a certain order to load the OS. Eventually I got a degree in computer science and ended up at Apple working on their OS. Starting out with something like the HP-65 is how many of us ended up sliding into the computer industry.
Thanks for reminding me of a little drop of my life.
My father also was a big fan of the HPs, and he had the HP-67 which was a lot like the HP-65. He actually wrote programs for the thing, and he subscribed to a programmable HP calculator users' group newsletter, the name of which escapes me now. We played the moonlander game on that machine. (In fact, through that newsletter we learned how to break into the calculator's hidden registers by flicking a piece of metal across the batter contacts. You could create crazy animations, like the one I remember that imitated a ping pong game.)
(He eventually retired from his job as an engineer and did database programming for the rest of his working life.)
And when he moved up to the HP-41c, he passed the HP-67 along to me. I really got into it. I was never more than a primitive programmer, but I loved the simple programming of the HP-67 and I spent weeks learning it.
Eventually I wrote a simple game that imitated a drag race -- by pressing certain keys, you could accelerate and brake, and the readout would display your speed and the distance to the finish line. The tricky part was stopping before you hit the wall a certain distance past the finish line. I titled it '67 Mustang Drag Race and submitted it to the newsletter where it was later published. My one and only game development.
Eventually the card reader stopped working, the batteries no longer charged (though it ran on its wall charger), and I sold it on eBay. But to this day I much prefer RPN calculators, and our household calculator in a drawer upstairs is an HP.