forked from sd17fall/InteractiveProgramming
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrounds.py
More file actions
23 lines (21 loc) · 1.19 KB
/
rounds.py
File metadata and controls
23 lines (21 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
rounds = 0
number = 0
print("Would you like to increase transmission, symptoms, or the diseases abilities ?")
round_user_choice = input('Type T, S, A, or hit the space bar to skip\n')
x = 0
if (round_user_choice == ' '):
print('You have skipped your upgrade for this turn')
elif(round_user_choice == 'T'):
print("You can upgrade the pathogen's transmission by increasing \n1. airborne \n2. rodent \n3. meat")
number = input('Type 1, 2, or 3 to upgrade a specific one\n')
print ('Round ' + str(rounds) + ' user chose to upgrade T ' + str(number));
elif(round_user_choice == 'S'):
print("You can upgrade the pathogen's symptoms by increasing \n1. insomnia \n2. necrosis \n3. inflammation")
number = int(input('Type 1, 2, or 3 to upgrade a specific one\n'))
print ('Round ' + str(rounds) + ' user chose to upgrade S ' + str(number));
elif(round_user_choice == 'A'):
print("You can upgrade the pathogen's abilities by increasing \n1. drug resitance \n2. cold resistance \n3. hereditary")
number = int(input('Type 1, 2, or 3 to upgrade a specific one\n'))
print ('Round ' + str(rounds) + ' user chose to upgrade A ' + str(number));
else: #other/user error
print('Please try again')