-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adicionando sons e correção de bugs Co-Authored-By: luizmachado432 <86847737+luizmachado432@users.noreply.github.com>
- Loading branch information
1 parent
09eef9f
commit 2958700
Showing
4 changed files
with
208 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,35 @@ | ||
import forca | ||
import adivinhacao | ||
def jogar(): | ||
import forca | ||
import adivinhacao | ||
|
||
print(28*"/") | ||
print("/ Escolha o seu jogo / ") | ||
print(28*"/","\n") | ||
print(28*"/") | ||
print("/ Escolha o seu jogo /") | ||
print(28*"/","\n") | ||
|
||
while input == 0 or 3: | ||
while input == 0 or 4: | ||
|
||
print("(1) Adivinhação (2) Forca") | ||
jogo = int(input("Qual jojo? ")) | ||
print("(1) Adivinhação (2) Forca (3) Sair") | ||
jogo = (input("Qual jogo? ")) | ||
|
||
if(jogo == str("1")): | ||
print ("Jogando Adivinhação") | ||
adivinhacao.jogar() | ||
return | ||
|
||
if(jogo == 1): | ||
print ("Jojando Adivinhação") | ||
adivinhacao.jogar() | ||
elif(jogo == 2): | ||
print ("Jojando Forca") | ||
forca.jogar() | ||
else: | ||
print("Escolha inválida") | ||
elif(jogo == str("2")): | ||
print ("Jogando Forca") | ||
forca.jogar() | ||
return | ||
|
||
elif(jogo == str("3")): | ||
print ("Saindo... ") | ||
break | ||
|
||
else: | ||
print(26*"*") | ||
print("* Escolha entre 1 ou 2 // 3 = sair *") | ||
print(26*"*","\n") | ||
#print("Escolha entre 1 ou 2") | ||
|
||
if(__name__ == '__main__'): | ||
jogar() |