Hey.
Its been a long time since I last worked with Arduino.
But for training I want to make a game, where the program randomly lights up 4 LEDs in a certain pattern, that you need to re-create by pressing buttons that are connected to the LEDs. Simple game, also called "Simon".
But I don't know, how the code is supposed to remember the random pattern (does it do it automatically or do I need to add something specific to make it remember it?)
Also, if I press the buttons, how do i make the program read the received information from the button and make it detect the information, on wether it matches with the pattern of the LEDs.
I have literally no idea and I'm a noob so sorry for asking.
Thank you for your time