Arduino Forum

Using Arduino => Project Guidance => Topic started by: Cessna172 on May 25, 2019, 11:12 pm

Title: Russian Roulette
Post by: Cessna172 on May 25, 2019, 11:12 pm
Hi..My friend and I are trying to make a Russian Roulette code.  Basically, I want to click a button and for it to randomly select an led.  Can you please help??  Thanks!!
Title: Re: Russian Roulette
Post by: hammy on May 25, 2019, 11:16 pm
There is an Arduino instruction for random numbers , that should do it .

Google "Arduino random"
Title: Re: Russian Roulette
Post by: Wawa on May 25, 2019, 11:37 pm
"Arduino dice" might also give you some ideas.
Leo..