Boyd-Thurston / LeandrasLearningApp

A learning app for children
MIT License
2 stars 0 forks source link

Memory game double click on same tile issue #6

Closed Boyd-Thurston closed 4 years ago

Boyd-Thurston commented 4 years ago

Describe the bug memory game allows a user to click twice on the same tile resulting in an error of the matching pair.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'memory game'
  2. Click on 'the same tile twice'
  3. See unexpected behaviour

Expected behavior to not allow the user to click twice on the same tile rather force to click on a different tile to generate the pair for checking.

Boyd-Thurston commented 4 years ago

Will need to add validation to on click event to prevent tile selector selcting the same tile multiple times in on pair validation round.

Boyd-Thurston commented 4 years ago

issue resloved

please see commit: FIX: Memory game double click on same tile issue commit 6e99800cb00a9b47ce03bd3eca9eae4b4df72ab2