Memory Game Part 4. The State Machine or Algorithm for sprites is built using sprite variables COLOR and the Costume (yes, the costume name can act as a variable, and actually it is a part of the sprite’s state), as well as the global variable 'now-in-game', which is changed by the clicked sprites.
Thanks to EPAM Systems for organizing a volunteer project #EPAM e-kids. Thanks to all the volunteers who participated in the development of the course "Intermediate Level Programming with Scratch".