Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- money = 0
- cars = 0
- mileage = 0
- day = 0
- job_pay
- money = False
- miles = False
- car = False
- job = False
- print("Hello, this is car simulator, the game where you work, get money, get cars, or even make cars, and drive")
- print("Here's your first job")
- print("Do you want to be a janitor, dog-walker, or programmer (or freelance)")
- print("Janitor = 5 hours work for £100")
- print("Dog-walker = 7 hours work £140")
- print("Programmer = 3 hours work for £75")
- day_night = 24
- job1 = input()
- if job1 == "Janitor" or "janitor":
- job = True
- money = True
- while job == True:
- time.sleep(1200)
- print("You are now going to work")
- day_night - 5
- money + 100
- if job1 == "Dog-Walker" or "Dog-walker" or "dog-walker" or "dog-Walker":
- job = True
- money = True
- while job == True:
- time.sleep(1500)
- print("You are now going to work")
- day_night - 7
- money + 140
- if job1 == "Programmer" or "programmer":
- job = True
- money = True
- while job == True:
- time.sleep(900)
- print("You are now going to work")
- day_night - 3
- money + 75
- if job1 == "Free-Lance" or "Freelance" or "freelance" or "free-lance" or "Free-lance":
- job = True
- money = True
- while job == True:
- random_work1 = random.randint(600,1800)
- time.sleep(random_work1)
- print("You are now going to work")
- random_work2 = random.randint(1,9)
- day_night - random_work2
- random_work3 = random.randint(50,200)
- money + random_work3
- else:
- print("Try again")
- if day_night == 0:
- day + 1
- if day_night == 10:
- money + 10
- print("10-Day Bonus")
- if day_night == 100:
- money + 100
- print("100-Day Bonus")
- if day_night == 365:
- money + 1000
- print("1-Year Bonus")
- print("Great, you have a job now! Now you need your first car.")
- print("Do you want a Suzuki RM-Z450 (just enter the second part please), a Yamaha 660 Rhino, or a Toyota Corolla")
- top_speed = 0
- car1 = input()
- if car1 == "RM-Z450" or "rm-z450":
- car = True
- miles = True
- while car == True:
- time.sleep(150)
- top_speed = 100
- mileage + top_speed
- money - 2
- if car1 == "660 Rhino" or "660 rhino":
- car = True
- miles = True
- while car == True:
- time.sleep(150)
- top_speed = 60
- mileage + top_speed
- money - 4
- if car1 == "Toyota Corolla" or "Toyota corolla" or "toyota corolla" or "corolla" or "Corolla":
- car = True
- miles = True
- while car == True:
- time.sleep(150)
- top_speed = 120
- mileage + top_speed
- money - 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement