Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

imon Says" is a memory game where "Simon" outputs a sequence of 10 characters (R, G, B, Y) and the user must repeat the sequence. Create a for loop...

imon Says" is a memory game where "Simon" outputs a sequence of 10 characters (R, G, B, Y) and the user must repeat the sequence. Create a for loop that compares the two strings. For each match, add one point to user_score. Upon a mismatch, end the game. Ex: The following patterns yield a user_score of 4:

simonPattern: R, R, G, B, R, Y, Y, B, G, YuserPattern: R, R, G, B, B, R, Y, B, G, Y
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question