Hi,
then you need to work along this line:
when you create a pattern, you record each item in order in a simple Array ( using ArrayMaker, you know this add on right?).
then when the user starts repeating this sequence, you check that his input matches the current index in the recorded pattern.
so let's say this is the pattern to repeat
blue
red
yellow
red
red
blue
when the user select his first action, check the first item in that list, if it doesn't match you fail the user attempt and start over, else you increment by one the index to look up the pattern, when the player performs his second input, you check the second item in the list and compare, this until the pattern is fully repeated.
Does that make sense?
Bye,
Jean