Our team is required to make five VEX LED’s flash on and off one after the other randomly…
Sounds like a homework assignment, I charge $5 each to do them
What part are you stuck at? Questions I answer for free.
its not homework, we are just tryna make a game.
but i just need to know how to randomize the light flashes
you want the rand() function and you want to say
LightToFlash = rand(4); // give me a random number between 0 and 4
Then you can use If else to light the lights.
1 Like
@Drakay – Thanks for the heart, but would be happier if you post your code for others to see!
1 Like