Basic stamp
Creative
Posts: 11
I·have 9 led and 9 push button switches for·my game. i light up 4 led using FOR LOOP. Then the player will memorize the random lighting sequence and input the respective sequence by pressing the switches. However, i try to use the 'for loop' for the user to key in 4 times but it only works 4 times when i press and hold on to the switches. Whereas what i want is the user to press and release and store it using an array.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
thanks for your time,· Eric
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com