-
Notifications
You must be signed in to change notification settings - Fork 0
/
jogo.py
57 lines (48 loc) · 1.53 KB
/
jogo.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
import random
print("Jogar dado")
jogar = "s"
while jogar == "s":
numero = random.randint(1, 6)
if numero == 1:
print("_________________")
print("| |")
print("| |")
print("| O |")
print("| |")
print("|_______________|")
elif numero == 2:
print("_________________")
print("| O |")
print("| |")
print("| |")
print("| O |")
print("|_______________|")
elif numero == 3:
print("_________________")
print("| O |")
print("| |")
print("| O |")
print("| |")
print("| O_____________|")
elif numero == 4:
print("_________________")
print("| O O |")
print("| |")
print("| |")
print("| |")
print("| O___________O |")
elif numero == 5:
print("_________________")
print("| O O |")
print("| |")
print("| O |")
print("| |")
print("| O___________O |")
elif numero == 6:
print("_________________")
print("| O O |")
print("| |")
print("| O O |")
print("| |")
print("| O___________O |")
jogar = input("Pressione (s) para jogar novamente: ").lower()