ring to create a guessing game. generate random number and player continues to guess till they get it right. rest button will not reset the random but does reset guess. how to? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

ring to create a guessing game. generate random number and player continues to guess till they get it right. rest button will not reset the random but does reset guess. how to?

6th Aug 2016, 12:56 PM
Kenneth Welch
Kenneth Welch - avatar
3 Antworten
0
how does your code look like?
6th Aug 2016, 5:51 PM
Rey Silva
Rey Silva - avatar
0
just the part you want to reset
6th Aug 2016, 5:52 PM
Rey Silva
Rey Silva - avatar
0
similar to the random number generator in code playground not writing on console but visual studio so slightly different. it will generate a random but can't get the random to reset with the reset button. the count and guess reset but not the random
6th Aug 2016, 5:58 PM
Kenneth Welch
Kenneth Welch - avatar