Forum Discussion

  • Do add a textfield for debugging your variables. And refer %AllLayresVisited% and %Clicks% in it. You will notice then that whenever you click a tile twice accidently, the conditions you use for testing your statechange of the Chevron fail. By clicking quicker on elements i can repeatedly let it fail. A solution might be adding the countup for your clicks on the layers instead of the buttons.

    I do think your conditions and triggers are unnecessary complex. I would create 4 variables... one for each pair...and set them to 0 or 1 if correct. No need for counting clicks...just check for all 4 to be 1. Then you can set the state of the Chevron to Normal.

    As an extra i would make the order of your tiles random. After doing it once, you now know exactly where what is. If you add all 4 options as states in the tiles...you can create a more sophisticated version where the startpositions of the tiles are random.

    Kind regards,
    Math

  • jeffTaylor2's avatar
    jeffTaylor2
    Community Member

    Math,

    Great suggestions.  I will work on it and let you know.