forked from rishidhamija/pythoniffie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rock_scissors_paper_en.py
78 lines (61 loc) · 1.84 KB
/
rock_scissors_paper_en.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import random
import time
computer_antworten = ['Sciccors', 'Rock', 'Paper',]
end_abfrage = "y"
print("Welcome to rock, paper, sciccors")
time.sleep(1)
eingabe_spieler = input("Chose [1] Sciccor [2] Stone [3] Paper")
if eingabe_spieler == "1":
print("You chose sciccor!")
time.sleep(1)
print("It's the Computers turn!")
time.sleep(1)
antwort_auf_schere = random.choice(computer_antworten)
print("He's choosing")
time.sleep(1.5)
print(antwort_auf_schere)
if antwort_auf_schere == 'Schere':
time.sleep(0.5)
print("**Its a tie!**")
elif antwort_auf_schere == 'Stein':
time.sleep(0.5)
print("**You lost!**")
else:
time.sleep(0.5)
print("**You won!**")
if eingabe_spieler == "2":
print("You chose stone!")
time.sleep(1)
print("It's the Computers turn!")
time.sleep(1)
antwort_auf_stein = random.choice(computer_antworten)
print("He's choosing!")
time.sleep(1.5)
print(antwort_auf_stein)
if antwort_auf_stein == 'Schere':
time.sleep(0.5)
print("**DYou won!**")
elif antwort_auf_stein == 'Stein':
time.sleep(0.5)
print("**Tie!**")
else:
time.sleep(0.5)
print("**You lost!**")
if eingabe_spieler == "3":
print("DYou chose paper!")
time.sleep(1)
print("It's the Computers turn")
time.sleep(1)
antwort_auf_papier = random.choice(computer_antworten)
print("He's choosing")
time.sleep(1.5)
print(antwort_auf_papier)
if antwort_auf_papier == 'Schere':
time.sleep(0.5)
print("**You lost!**")
elif antwort_auf_papier == 'Stein':
time.sleep(0.5)
print("**DYou won!**")
else:
time.sleep(0.5)
print("**Tie!**")