

Once the second card flips, I get a non-zero value for varFlip

So if I only flip one card (Moth v=1), I have 1*0=0 so varFlip=0 This expression runs with every card flip. Since both cardA and cardB start with a value of zero, I figured a product would work nice. To address number 1 I created a variable to store a combination of both cardA and cardB. All variables must be reset after a match check Matching check must only be done when two cards have been flippedĢ. I found that I needed to resolve a couple issuesġ. I am presenting all morning so maybe I can give a little more detail tomorrow afternoon with some screenshots of my own. I actually started playing with this to test my theory but I only had about thirty minutes to toy with it before I had to leave. Please forgive me that I won't be able to properly respond to this until I have a chance to get back to my computer. If I actually started doing this I might come across a few more things to tweak to make it work but hopefully this helps get some wheels turning. I am also sure there are several ways to go about this. It is a bit more complicated than I perhaps made it sound but that would be my initial approach. If true then hide them, if false then flip them back over. We also have a check action that looks to see if varCardA=varCardB. Then a user clicks the second card where an action changes the state and assigns varCard2 with the value of that image. Then, when a learner clicks a card to turn it over, I do a change state to reveal the image and then assign varCardA with the value of the image Moth=1. So Moths are 1, Dogs are 2, Cats are 3, etc. I might then arbitrarily assign a value to the image on the card. I will also create two variables for each card varCardA and varCardB. My first thoughts on tackling it might be to create two matching "cards" with two matching states. This seems like it would be a fun project.
