Created
August 7, 2019 02:52
-
-
Save parzibyte/e5938a1ed7f3e6eb3e7d08b26659623f to your computer and use it in GitHub Desktop.
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
// Aumenta un intento y verifica si el jugador ha perdido | |
aumentarIntento() { | |
this.intentos++; | |
if (this.intentos >= MAXIMOS_INTENTOS) { | |
this.indicarFracaso(); | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment