Boyd-Thurston / LeandrasLearningApp

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

MEMORY GAME TRIPLE CLICK ERROR #5

Closed Boyd-Thurston closed 4 years ago

Boyd-Thurston commented 4 years ago

Describe the bug in memory game there is nothing to prevent the user from triple clicking causing an persistant error in the logic there after one three tiles are revealied at once

To Reproduce Steps to reproduce the behavior:

  1. Go to 'memoery game'
  2. Click on 'tiles' three times
  3. unexpected behavior ocurs from this point on wards

Expected behavior no third tile to be reveailed until tile pair has been dealt with.

Boyd-Thurston commented 4 years ago

Will need to add a way to show when cliking is avaialable and prevent it when not, perhaps a state property to be updated from secound click to be further updated once pair is validated.

Boyd-Thurston commented 4 years ago

issue resloved

please see commit: FIX: memory game triple click error commit 915cf0318d8c2607df79671f3b0995d65d3b71b6