24 Commits

Author SHA1 Message Date
amjad
a20b3ff31f Merge branch 'sourcery/main' of https://github.com/amjadkofahi/basic-computer-games into sourcery/main 2024-08-19 04:09:55 +03:00
Sourcery AI
71d02673a9 'Refactored by Sourcery' 2024-08-19 03:46:27 +03:00
Martin Martin
a2215f4f90 Revert "Fix bug in Lunar: wrong capsule weight."
This reverts commit 52e1bf4998.

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 #867
2024-05-31 14:15:52 -04:00
Martin Martin
456f228e17 Add explanation of variables and code structure. 2024-05-31 14:00:46 -04:00
JoeStrout
ae81f67e2d Added MiniScript version of 59_Lunar_LEM_Rocket, "lem" program.
(Still need to do the other two in this folder.)
2023-09-12 16:03:29 -07:00
Serge Vakulenko
ff2b9479a6 Also update the fiel weight in the initial message. 2023-07-14 16:45:39 -07:00
Serge Vakulenko
52e1bf4998 Fix bug in Lunar: wrong capsule weight.
Must be 32500 lbs, not 33000.
2023-07-14 14:19:05 -07:00
Martin Thoma
e17388d072 Use NamedTuple; Fix camelCase->snake_case 2022-04-02 11:22:40 +02:00
Martin Thoma
61b5a222d1 Lunar (Python): Add type annotations 2022-03-31 12:14:17 +02:00
Martin Thoma
1b1d50986b Python: Add type annotations to all 'print' functions (#662)
* Add test to superstartrek and fixes several issues in superstartrek - I probably introduced them 🙈
* Mastermind type annotations
2022-03-21 10:41:14 +01:00
Martin Thoma
83b3dc402c Python: Add type annotations 2022-03-20 19:16:39 +01:00
Jeff Atwood
f40a1fc465 add Porting Notes to readme.md for each game 2022-03-18 19:50:22 -07:00
Jeff Atwood
6f6ac93d1f Merge pull request #633 from mojoaxel/js-terminal-style
Add "nice" terminal style stylesheet for javascript html
2022-03-15 23:50:18 -05:00
Jeff Atwood
43f2ec013a add 00_Alternate_Langage folder and move alternate ports there 2022-03-15 20:49:07 -07:00
Alexander Wunschik
f2b3d6f2ed add terminal-stylesheet for javascript html 2022-03-13 11:23:05 +01:00
Martin Thoma
4adb34f25c Python: Fix code style issues 2022-03-11 07:44:56 +01:00
Martin Thoma
e64fb6795c MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
David Lotts
a12a568703 Add description of the three game folders. 2022-02-27 12:16:00 -05:00
David Lotts
66881c7313 Completed Rust version of Rocket 2022-02-27 03:02:27 -05:00
Alex Gomez
5750aca580 Most probable a bad OCR mismatch 2022-01-27 17:38:32 -06:00
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
LukasMurdock
76c5e1e995 add 17-96 2022-01-03 02:13:21 -05:00
Matthew Kuehn
f0327b7615 Fix spelling and grammar. 2022-01-01 20:02:28 -06:00
Chris Reuter
d26dbf036a Removed spaces from top-level directory names.
Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
2021-11-21 18:30:21 -05:00