Commit 8c1d9166 authored by simon.nutsey's avatar simon.nutsey

Update PythonGame

parent fb998d77
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
yes_no = ["yes", "no"] yes_no = ["yes", "no"]
cash = ["easy", "normal", "hard"] cash = ["easy", "normal", "hard"]
insurance = ["high","low","none"] insurance = ["high","low","none"]
firstcontract = ["1","2","3"]
bankbal = 0 bankbal = 0
insurancevalue = 0 #used at the end of a contract insurancevalue = 0 #used at the end of a contract
...@@ -71,6 +72,10 @@ while response2 not in insurance: ...@@ -71,6 +72,10 @@ while response2 not in insurance:
print("I'm sorry captain could you please say that again?\n") print("I'm sorry captain could you please say that again?\n")
#game start #game start
print("\nCongratulations Captain "+playername+" you're all ready to set sail. Get some rest and we will head over to the contracts office tomorrow morning.\n") print("\nCongratulations Captain "+playername+" you're all ready to set sail. Get some rest and we will head over to the contracts office tomorrow morning.\n\n")
# ("DAY 1\nBalance-£",bankbal,"\nWeather:Clear\nLocation:Contracts Office\n")
\ No newline at end of file
response3 = ""
while response3 not in firstcontract:
response3 = input("Good Morning captain we have 3 contracts available for you to carry out. Please take a look....\n\nCONTRACT 1 ~ COST: £200,000 ~ PAYOUT ~ £1,000,000 ~\n-Cargo in excess of £10,000,000\n-Scotland -> Sweden\n-3 Day limit from acceptance of contract\n\nCONTRACT 2 ~ COST:£10,000 ~ PAYOUT ~ £50,000~\n-Cargo in excess of £100,000\n-Scotland -> France\n-7 day time limit from acceptance of contract")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment