Choices in Simon

Choices in Simon
0.0 0


Good afternoon, I was hoping for feedback on my Simon Game. I am not sure that the technique of comparing the buttons against the separate game array was the best choice, or implemented in the best way possible. I am only now starting to look at other implementations so I would appreciate any discussion.

Also I was unable to refactor out the changeColorOff function; for some reason using the mute(color) call did not work. I left the work commented out (lines 184 and 185 on CodePen) if anyone can see a reason why this is not working.

I also posted this on Stack Overflow’s Code Review but have not recevied comments. Here is the link to [CodePen]
( Thank you for your time!