Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lunar lander initial weight #867

Open
martincmartin opened this issue Jul 29, 2023 · 1 comment
Open

Lunar lander initial weight #867

martincmartin opened this issue Jul 29, 2023 · 1 comment

Comments

@martincmartin
Copy link
Contributor

There was a change recently, by @sergev, to the initial weight of the Lunar Lander. It looks like it was changed to be faithful to the original Lunar Landing game from 1969 by Jim Storer in FOCAL.

However, BASIC Computer Games seems to have intentionally given the user extra fuel. The intro text says "To make the landing more of a challenge, but more closely approximate the real Apollo LEM capsule, you should make the available fuel at the start (N) equal to 16,000 lbs, and the weight of the capsule (M) equal to 32,500 lbs."

Note the N is not the available fuel at start, but the empty weight of the capsule. The available fuel is M - N.

In the original 1969 FOCAL code,

M=32500
N=16500
M-N = 16000

In BASIC Computer Games, we have:

M=33000
N=16500
N - M = 16500

So it looks like it was modified intentionally, to make things a little easier for the player.

If we want to go with the original values from 1969, we should remove the (erroneous) message from the intro.

If we want to stick with the BASIC Computer Games version of extra fuel, we should probably fix the intro text, or at least mention the bug that you only need to update M, since N is actually the empty weight.

@coding-horror
Copy link
Owner

Sure! Good idea. Maybe put that in the root porting notes for that program?

martincmartin added a commit to martincmartin/basic-computer-games that referenced this issue May 31, 2024
This reverts commit 52e1bf4.

The original commit modified the game away from what was in BASIC Computer
Games, replacing it with the value from the original FOCAL version.  The
difference was intentional, as the introductory text makes clear, which is also
in the README.md here:

"To make the landing more of a challenge, but more closely approximate the real
Apollo LEM capsule, you should make the available fuel at the start (N) equal to
16,000 lbs, and the weight of the capsule (M) equal to 32,500 lbs."

Here we bring the value back into line with the BASIC Computer Games book & the
README.md text.  If we wanted to keep the FOCAL value, we should update the text
in the README.md to explain why.

See issue coding-horror#867
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants