Gra uwu
unknown
python
4 years ago
2.1 kB
4
Indexable
socialcredit = 15
def wybor1():
global socialcredit
print("dopsze")
print("twoje social credity: ", socialcredit)
print("")
print("Jestes w sklepie i doszedles do alejki z nabialem")
print("co wybierziesz?")
print(" 1. Serek Almette")
print(" 2. mLEKO")
print(" 3. Ser")
print(" 4. Jajco")
wybor1 = int(input("Wybor: "))
if wybor1 == 2:
print("dopsze")
socialcredit += 15
wybor2()
else:
print("")
print("zle")
socialcredit -= 15
if socialcredit < 0:
ded()
else:
wybor2()
def wybor2():
global socialcredit
print("")
print("twoje social credity: ", socialcredit)
print("")
print("co robisz dalej?")
print(" 1. idziesz do kasy")
print(" 2. idziesz do domu")
print(" 3. idzesz do innej alejki")
print(" 4. uciekasz")
wybor2 = int(input("Wybor: "))
if wybor2 == 1:
print("dopsze")
socialcredit += 15
wybor_bonus1()
else:
print("")
print("zle")
socialcredit -= 15
if socialcredit < 0:
ded()
else:
wybor_bonus1()
def wybor_bonus1():
global socialcredit
print("")
print("twoje social credity: ", socialcredit)
print("")
print("bonus runda")
print("bonusowa runda odejmuje tylko 5 social creditow a dodaje 15")
print("ktora z tych odpowiedzi jest wynikie rownania:")
print("(4x + 7) / 2 - (5x - 1) / 6 = x + 5")
print("")
print(" 1. x = 6")
print(" 2. x = 7")
print(" 3. x = 8")
print(" 4. x = 9")
wybor_bonus_1 = int(input("Wybor: "))
if wybor_bonus_1 == 3:
print("dopsze")
socialcredit += 15
wybor4()
else:
print("")
print("zle")
socialcredit -= 5
if socialcredit < 0:
ded()
else:
wybor4()
def wybor4():
global socialcredit
print("")
print("twoje social credity: ", socialcredit)
print("")
print("Uwaga")
def ded():
print("")
print("nie masz wiecej social creditow")
print("twoja egzekucja zaczyna sie TERAZ")
print("Twoj ojciec idzie po mleko")
print("Pomoz mu dosc do domu")
papierz = int(input("Wpisz 2137 zeby zaczac: "))
if papierz == 2137:
wybor1()
else:
print("do it")Editor is loading...