mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-13 21:46:58 -08:00
MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be many adjustments necessary
This commit is contained in:
@@ -7,9 +7,11 @@ Just the instructions for SUPERSTARTREK
|
||||
Ported by Dave LeCompte
|
||||
"""
|
||||
|
||||
|
||||
def get_yes_no(prompt):
|
||||
response = input(prompt).upper()
|
||||
return response[0] != 'N'
|
||||
return response[0] != "N"
|
||||
|
||||
|
||||
def print_header():
|
||||
for i in range(12):
|
||||
@@ -25,6 +27,7 @@ def print_header():
|
||||
for i in range(8):
|
||||
print()
|
||||
|
||||
|
||||
def print_instructions():
|
||||
# Back in the 70s, at this point, the user would be prompted to
|
||||
# turn on their (printing) TTY to capture the output to hard copy.
|
||||
@@ -60,7 +63,7 @@ def print_instructions():
|
||||
print(" WAY BETWEEN 1 AND 2 ...")
|
||||
print(" . . .")
|
||||
print(" VALUES MAY APPROACH 9.0, WHICH 6 7 8")
|
||||
print(" ITSELF IS EQUIVALENT TO 1.0" )
|
||||
print(" ITSELF IS EQUIVALENT TO 1.0")
|
||||
print(" COURSE")
|
||||
print(" ONE WARP FACTOR IS THE SIZE OF ")
|
||||
print(" ONE QUADTANT. THEREFORE, TO GET")
|
||||
@@ -134,8 +137,7 @@ def print_instructions():
|
||||
print(" OPTION 5 = GALACTIC /REGION NAME/ MAP")
|
||||
print(" THIS OPTION PRINTS THE NAMES OF THE SIXTEEN MAJOR ")
|
||||
print(" GALACTIC REGIONS REFERRED TO IN THE GAME.")
|
||||
|
||||
|
||||
|
||||
|
||||
def main():
|
||||
print_header()
|
||||
@@ -143,5 +145,6 @@ def main():
|
||||
return
|
||||
print_instructions()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user