Está en la página 1de 1

Español:

Cuando se inicia el juego activando el botón, y cambio la primera estructura a true.


Después dentro del siguiente while cambia el primer caso llamado generar secuencia en
el cual se genera un numero aleatorio y se compara con las tres constantes que existen y
esto genera la secuencia con un retardo de 3 segundos. después de eso se despliega a el
siguiente caso que se llama desplegar secuencia en el cual hace el funcionamiento el cual
muestra la secuencia a seguir.
Después pasa al caso que se llama datos de usuario en el cual se controla las
pulsaciones del jugador y se trasladan a un indicador que muestra el puntaje obtenidos
por el jugador en el cual la estructura for loop está condicionada para que al momento de
tener un error detenga la secuencia y se active el caso de terminar en el cual hace que
aparezca en pantalla un mensaje que indica el fin del juego.
En su primer while loop se encuentra un botón denominado stop el cual detiene el juego
cuando el jugador lo pulse y para todo el programa.

Ingles:
When the game starts by activating the button, and change the first structure to true. Then
within the next while change the first case called generate sequence in which a random
number is generated and compared with the three constants that exist and this generates
the sequence with a delay of 3 seconds. after that, it unfolds to the next case that is called
unfolding sequence in which it performs the operation which shows the sequence to be
followed.
Then it passes to the case called user data in which the player's pulsations are controlled
and transferred to an indicator that shows the score obtained by the player in which the
structure for loop is conditioned so that at the moment of having an error stop the
sequence and activate the ending case in which it causes a message to appear on the
screen indicating the end of the game.
In its first while loop there is a button called stop which stops the game when the player
presses it and stops the whole program.

También podría gustarte