Memory Card Game, very simple yet brilliant

Aug 13, 2021

I modified something from user Russell Killips from this post: https://community.articulate.com/discussions/articulate-storyline/memory-game-55177fdb-bb92-4481-819f-6324c4cedf4c

It's a memory game with an absolutely brilliant and simple use of variables and triggers. I put a few new triggers and layers into it so that there would be feedback for each right answer. I also put the explanation on how it works onto the slide. 

This is that explanation: 

Each square uses a state that is triggered by clicking on it. This second state is the “back” of the card. This then adds 1 to the “nCount” variable. Once someone then click a second card, and the nCount variable reaches 2, then the user is sent to one of two possible layers: 1. if the user got it right, then they get the Feedback Correct “X” layer and are prompted to press continue. 2. If they got it wrong, then they are sent to the FlipBack layer. The flipback layer then only lasts 1 second and sends the user back to the base layer while also resetting the nCount variable. If the user got the two cards correct, then there is a trigger in conjunction with the variable “xMatch” that makes those two cards stay flipped and unusable. Once all the “xMatch” variables are set to True, then the Finished layer appears and can allow movement to the next slide.

1 Reply