Simple arduino code to load user inputs into an array. Play with it here: https://www.tinkercad.com/things/8rQE1vWJKZc
Took a couple days to learn some of the ins and outs of arduino to help a friend troubleshoot a problem she was having with her simon-says personal project. The code simply stores the user's 5 most recent inputs into an array and outputs them to console.
I've included a file "tinkerThing.png" to show what pops up in the console as to get an idea for what exactly the code does.