Lunar Lander
|
01-17-2017, 06:51 AM
(This post was last modified: 09-23-2021 02:34 AM by Gene222.)
Post: #1
|
|||
|
|||
Lunar Lander
Lunar Lander Simulation game, 1 dimensional, no graphics.
9/22/21 Added LunarLander2 based on Jim Storer's 1969 FOCAL program. The lunar lander is 500 ft above the moon with a downward velocity of 50 ft/s and has 120 units of fuel. The height, velocity, and remaining fuel are displayed. The program will pause for up to 60 seconds. Enter the number of units of fuel you wish to burn during the next second, then press the Enter key. The new height, velocity and remaining fuel are displayed. The maximum amount of fuel you can burn at one time is 30 units. For more instructions, view the program INFO on the HP Prime. The program was adapted from the Rocket program in Basic Computer Games, MicroComputer Edition, 1978 by David H. Ahl. The Rocket program was written by Eric Peters at Digital Equipment Corporation. A copy of the program is shown below. The Rocket program is a simpler version of the very first lunar lander program that was written by Jim Storer in 1969, while he was a high school student. ADDED 11/9/18. Rocket Program Code from Basic Computer Games, MicroComputer Edition. Code: 10 PRINT TAB(30); "ROCKET" LunarLander.zip (Size: 2.92 KB / Downloads: 48) |
|||
01-17-2017, 03:29 PM
(This post was last modified: 01-17-2017 10:59 PM by StephenG1CMZ.)
Post: #2
|
|||
|
|||
RE: Lunar Lander
When trying to display the pdf, Android says attachment.php is of the wrong format.
Update: Android 4.4.4 and Android 5.0.2, both using the default pdf viewer which normally seems to display the file before downloading it. Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
01-17-2017, 07:30 PM
(This post was last modified: 11-09-2018 03:58 PM by Gene222.)
Post: #3
|
|||
|
|||
RE: Lunar Lander
Quote:When trying to display the pdf, Android says attachment.php is of the wrong format. The original program in PDF format opens on my computer, but I am using acrobat standard 6, which is pretty old. EDIT 11/9/18. The original program code was added to the first post and the pdf attachment of the original program code was removed. |
|||
01-17-2017, 07:49 PM
(This post was last modified: 01-17-2017 07:50 PM by Didier Lachieze.)
Post: #4
|
|||
|
|||
RE: Lunar Lander | |||
03-07-2017, 12:31 PM
Post: #5
|
|||
|
|||
RE: Lunar Lander
Hi,
Nice work ! I only change all "208" in print with "218" to have good alignement with large format. BTW one solution is : ENTER 5 times 0 fuel and ENTER 5 times 20 units of fuel. Landing good without you dead ! (In HP65 Key Note- V2N2) Others solutions ? Gérard. |
|||
03-07-2017, 09:58 PM
Post: #6
|
|||
|
|||
RE: Lunar Lander
I wrote an article in Datafile about bugs in the Lunar Lander programs. For anyone who's interested it's attached.
Dave |
|||
03-08-2017, 09:51 AM
Post: #7
|
|||
|
|||
RE: Lunar Lander
Thanks David.
Gérard. |
|||
09-09-2021, 08:39 PM
Post: #8
|
|||
|
|||
RE: Lunar Lander
David....I always enjoy reading your documents on HP firmware. Thank you for a nice explanation of the Lunar Lander bugs and how they propagated from the HP-67 to the HP-29. Interesting speculation on why the HP-25 had a bug due to memory constraints.
You didn't mention if the HP-41C Users’ Library Solutions Games Pac, planet "Lander" program had any similarities or differences to your corrected HP Lunar Lander program. Also, I was curious when you wrote this paper? I didn't see a date on your paper......or I missed the date . ~ Jim J. ~ |
|||
09-23-2021, 02:24 AM
Post: #9
|
|||
|
|||
RE: Lunar Lander
Added LunarLander2 based on Jim Storer's 1969 FOCAL program. Program include a fix of David Hayden's bounce bug.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)