This is a memory game using arduino. In this game we have to remember which led glows how many times and there is a time extension of 5 seconds, i.e we have to give command in 5 seconds.
Circuit diagram
Can you make a flow chart of your program?