LocateBaltimore
No Result
View All Result
No Result
View All Result
LocateBaltimore
No Result
View All Result
Home Technology

Retired engineer discovers 55-year-old bug in Lunar Lander computer game code

Pauline Wright by Pauline Wright
June 15, 2024
in Technology
0
325
SHARES
2.5k
VIEWS
Share on FacebookShare on Twitter


Enlarge / Illustration of the Apollo lunar lander Eagle over the Moon.

On Friday, a retired software program engineer named Martin C. Martin introduced that he lately found a bug in the unique Lunar Lander computer game’s physics code whereas tinkering with the software program. Created by a 17-year-old highschool scholar named Jim Storer in 1969, this primordial game rendered the motion solely as textual content standing updates on a teletype, however it set the stage for future variations to come back.

The legendary game—which Storer developed on a PDP-8 minicomputer in a programming language known as FOCAL simply months after Neil Armstrong and Buzz Aldrin made their historic moonwalks—permits gamers to regulate a lunar module’s descent onto the Moon’s floor. Players should rigorously handle their gasoline utilization to realize a delicate touchdown, making important selections each ten seconds to burn the correct amount of gasoline.

In 2009, simply in need of the fortieth anniversary of the primary Moon touchdown, I got down to discover the writer of the unique Lunar Lander game, which was then primarily often called a graphical game, due to the graphical model from 1974 and a 1979 Atari arcade title. When I found that Storer created the oldest identified model as a teletype game, I interviewed him and wrote up a historical past of the game. Storer later launched the supply code to the unique game, written in FOCAL, on his web site.

Enlarge / A scan of printed teletype output from the unique Lunar Lander game, offered by Jim Storer.

Jim Storer

Fast ahead to 2024, when Martin—an AI skilled, game developer, and former postdoctoral affiliate at MIT—stumbled upon a bug in Storer’s highschool code whereas exploring what he believed was the optimum technique for touchdown the module with most gasoline effectivity—a method identified amongst Kerbal Space Program fans because the “suicide burn.” This methodology includes falling freely to construct up velocity after which igniting the engines on the final doable second to decelerate simply sufficient to the touch down safely. He additionally tried one other strategy—a extra mild touchdown.

Advertisement

“I lately explored the optimum gasoline burn schedule to land as gently as doable and with most remaining gasoline,” Martin wrote on his weblog. “Surprisingly, the theoretical finest technique didn’t work. The game falsely thinks the lander doesn’t contact down on the floor when in truth it does. Digging in, I used to be amazed by the subtle physics and numerical computing in the game. Eventually I discovered a bug: a lacking ‘divide by two’ that had seemingly gone unnoticed for practically 55 years.”

A matter of division

Diagram of launch escape system on top of the Apollo capsule.
Enlarge / Diagram of launch escape system on high of the Apollo capsule.

NASA

Despite making use of what ought to have been a textbook touchdown technique, Martin discovered that the game inconsistently reported that the lander had missed the Moon’s floor completely. Intrigued by the anomaly, Martin dug into the game’s supply code and found that the touchdown algorithm was based mostly on extremely refined physics for its time, together with the Tsiolkovsky rocket equation and a Taylor collection growth.

As talked about in the quote above, the basis of the issue was a easy computational oversight—a lacking division by two in the components used to calculate the lander’s trajectory. This seemingly minor error had massive penalties, inflicting the simulation to underestimate the time till the lander reached its lowest trajectory level and miscalculate the touchdown.

Despite the bug, Martin was impressed that Storer, then a highschool senior, managed to include superior mathematical ideas into his game, a feat that continues to be spectacular even by right this moment’s requirements. Martin reached out to Storer himself, and the Lunar Lander writer informed Martin that his father was a physicist who helped him derive the equations used in the game simulation.

While individuals performed and loved Storer’s game for years with the bug in place, it goes to indicate that realism is not all the time a very powerful a part of a compelling interactive expertise. And fortunately for Aldrin and Armstrong, the true Apollo lunar touchdown expertise did not endure from the identical problem.

You can learn extra about Martin’s thrilling debugging journey over on his weblog.



Source hyperlink

Tags: 55yearoldbugcodecomputerdiscoversengineerGamelanderlunarRetired
Previous Post

Charles Barkley says the next NBA season will be his last on TV

Next Post

18 Best Camera Bags, Slings, Straps, and Backpacks (2024)

Next Post
18 Best Camera Bags, Slings, Straps, and Backpacks (2024)

18 Best Camera Bags, Slings, Straps, and Backpacks (2024)

No Result
View All Result

Categories

  • Construction (53)
  • Food (977)
  • Local News (1,995)
  • Local Sports (1,999)
  • Technology (4,000)

Recent.

How to Make Powdered Sugar (Without Cornstarch Option)

How to Make Powdered Sugar (Without Cornstarch Option)

August 25, 2026
Cream of Asparagus Soup with White Wine

Cream of Asparagus Soup with White Wine

August 25, 2026
Easy Whole Wheat Penne With Broccoli (18-Minute Base)

Easy Whole Wheat Penne With Broccoli (18-Minute Base)

August 24, 2026

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Check our landing page for details.

Category

  • Construction (53)
  • Food (977)
  • Local News (1,995)
  • Local Sports (1,999)
  • Technology (4,000)

Tags

2024 Draft 2024 Draft News Air apple Baltimore bridge Chicken Clifton Brown day Derrick Henry draft Easy Experiments Game Gameday Gameday News General Google Heres home Homepage Centerpiece Homepage Latest Headlines iPhone Jackson Key Lamar Lamar Jackson Late For Work Maryland NFL offseason OpenAI Ravens Recipe recipes Ryan Mink Savory season shopping tech TikTok users video Watch week
  • About
  • Home

© 2026 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • About
  • Home

© 2026 JNews - Premium WordPress news & magazine theme by Jegtheme.