Skip to content

Commit

Permalink
Eliminar repetido
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturoDuCas committed Mar 26, 2022
1 parent af1b094 commit d831c3c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Juego-de-memoria
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ def tap(x, y):
hide[spot] = False
hide[mark] = False
state['mark'] = None
comprobar_si_gana()
if contador2 == 0: #Escribir mensaje si se termina el juego
up()
goto(100,100)
color('black')
write("FELICIDADES CAMPEON, HAS GANADO", font=('Arial', 50, 'normal'))

def draw():
"""Draw image and tiles."""
Expand Down Expand Up @@ -110,11 +104,11 @@ def draw():
#Agregamos el contador a la ventana.

comprobar_si_gana()
if contador2 == 0:
if contador2 == 0: #Escribir mensaje si se termina el juego
up()
goto(-190,100)
down()
write("FELICIDADES CAMPEON, HAS GANADO", font=('Arial', 20, 'bold'))
write("FELICIDADES CAMPEON, HAS GANADO", font=('Arial', 10, 'bold'))
color('white')

update()
Expand Down

0 comments on commit d831c3c

Please sign in to comment.