Untitled
unknown
python
3 years ago
4.4 kB
2
Indexable
import time 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") print("Wrociles do domu") print("Widzisz swoja zone") print("Wyglada nieco sfrustrowana") print("Okazuje sie, ze kupiles mleko roslinne zamiast krowiego") print("BOSS FIGHT") print("twoje social credity daja ci wiecej zycia") print("") print("co zrobisz?") print(" 1. przystepujesz do walki na argumenty") print(" 2. godzisz sie z tym ze kupiles zle mleko") print(" 3. uciekasz") wybor_final = int(input("Wybor:")) if wybor_final == 1: Good_Ending() elif wybor_final == 2: Neutralny_Ending() elif wybor_final == 3: Bad_Ending() elif wybor_final == 7: papierz_Ending() else: print("Przechodz od poczatku lol") def Good_Ending(): print("") print("Wybrales walke na argumenty") time.sleep(3) print("Za kazdy argument ktory nie pasuje jestes ded") time.sleep(5) print("Przygotuj sie") time.sleep(2) print("Zona sie pyta czemu nie kupiles dobrego mleka") print("Co odpowiesz?") print(" 1. A czemu krowie musi byc dobre?") print(" 2. A co ty, naukowiec?") wybor1 = int(input("Wybor: ")) if wybor1 == 1: time.sleep(1) print("dopsze") else: time.sleep(1) ded() def Neutralny_Ending(): global socialcredit print("") print("Wybrales pogodzenie sie") print("Nic sie nie stalo") print("odjeto ci tylko 10 social creditow ale to nic") socialcredit -= 10 time.sleep(3) win() def Bad_Ending(): global socialcredit print("") print("Wybrales ucieczke") print("to zly wybor") print("przez to w domu nie ma mleka a ty jestes w bydgoszczy") print("a ty dostajesz -3000000 social creditow") socialcredit -= 3000000 if socialcredit < 0: time.sleep(3) ded() def papierz_Ending(): global socialcredit print("") print("Ester Egg") print("Jako ze odkryles ester egga ") print("dostajesz +3000000 social creditow") socialcredit += 3000000 time.sleep(3) win() def win(): global socialcredit print("") print("Wygrales!") print("Twoj wynik social creditow:", socialcredit) def ded(): print("") print("Przegrana") 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...