I have something like a schoolproject going on right now and i cant figure out how to do it right. I wanna programm a lil game just like supersimon, where the computer gives out a random combination of numbers.
How i want it to work:
The Computer gives out a random number from 1 to 4. If the selected number is 1 the first LED goes on and off again, if its 4 the 4th LED turns on and off again - u get the system. After it goes off you have to press the right button the get a chain. A chain means that everytime you press the right button another random number is given out and you have to press the right combinations of the button again. If you dont get it just watch a video of someone playing supersimon.
Thanks 4 the Help.