Documentos de Académico
Documentos de Profesional
Documentos de Cultura
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.