How to program two player reaction game?

Hi!

Found this game on youtube today: - YouTube. I'm interested in doing exactly the same thing, but I'm a real newbie at coding for Arduino. How would you structure the code? Any tips are priceless!! XD

PS. Yes, I tried to contact the guy who made it, but with no success so far :disappointed_relieved:

but I'm a real newbie at coding for Arduino

Then I would start going through the tutorial section a few evenings rebuilding the sketches there.
You will see a lot of snippets that will be useful for your project.

Well here are some things you're going to need to know how to do...

Blink an LED.

Check to see if a switch is pressed.

Blink an LED while checking to see if a switch is pressed.

Keep track of several machine states.

Blink an RGB LED.

Thanks a lot!
I'll check it out straight away.

If you have any more tips on how to strucutre the functionality overall, I'd be thankful to know!

So, now I've managed to create the game kind of as I want it.
Still having some trouble with the point system though. Ideas? :slight_smile:

Still having some trouble with the point system though. Ideas?

Yes, I have one. I have this idea that you should tell us what the problem is. There you go. It might be a silly idea, but, you never know.