03-24-2012 05:08 PM
I made a game for to guess one number. The player must guess one random number. The game tells the user if the number entered is less than or greater than the guess that random number. Too, the game indicates the number of attempts of the user,for the number of attempts i maked a counter, and this works fine, however when going to play again the counter keeps the last value and continues counting from the last value. I would like to help me so that each time that the user guess the number the counter return to zero.
I attached My VI
03-24-2012 05:13 PM
To add this:
For to play.. run, and to enter numbers and press to enter until you guess the number, the program indicates if the number is greater of less
03-24-2012 05:41 PM
Don't use the feedback node on the shift register. It is completely unnecessary to begin with, but it is holding the last value of the while loop and initializes the loop with that value. Just wire a 0 constant to the incoming shift register.