function unmatched(){
     openedCards[0].classList.add("unmatched");
     openedCards[1].classList.add("unmatched");
     disable();
     setTimeout(function(){
         openedCards[0].classList.remove("show", "open", "no-event","unmatched");
         openedCards[1].classList.remove("show", "open", "no-event","unmatched");
         enable();
         openedCards = [];
     },1100);
 }
/**
 * @description behavior when cards don't match
 */
@description behavior when cards don't match
@description behavior when cards don ' t match
function unmatched(){
     openedCards[0].classList.add("unmatched");
     openedCards[1].classList.add("unmatched");
     disable();
     setTimeout(function(){
         openedCards[0].classList.remove("show", "open", "no-event","unmatched");
         openedCards[1].classList.remove("show", "open", "no-event","unmatched");
         enable();
         openedCards = [];
     },1100);
 }
function unmatched ( ) { openedCards [ 0 ] . classList . add ( "unmatched" ) ; openedCards [ 1 ] . classList . add ( "unmatched" ) ; disable ( ) ; setTimeout ( function ( ) { openedCards [ 0 ] . classList . remove ( "show" , "open" , "no-event" , "unmatched" ) ; openedCards [ 1 ] . classList . remove ( "show" , "open" , "no-event" , "unmatched" ) ; enable ( ) ; openedCards = [ ] ; } , 1100 ) ; }
@description behavior when cards don't match
@description behavior when cards don ' t match