function cardOpen() {
     openedCards.push(this);
     var len = openedCards.length;
     if(len === 2){
         moveCounter();
         if(openedCards[0].type === openedCards[1].type){
             matched();
         } else {
             unmatched();
         }
     }
 }
/**
 * @description adds opened cards to OpenedCards list and checks if cards are a match or nah
 */
@description adds opened cards to OpenedCards list and checks if cards are a match or nah
@description adds opened cards to OpenedCards list and checks if cards are a match or nah
function cardOpen() {
     openedCards.push(this);
     var len = openedCards.length;
     if(len === 2){
         moveCounter();
         if(openedCards[0].type === openedCards[1].type){
             matched();
         } else {
             unmatched();
         }
     }
 }
function cardOpen ( ) { openedCards . push ( this ) ; var len = openedCards . length ; if ( len === 2 ) { moveCounter ( ) ; if ( openedCards [ 0 ] . type === openedCards [ 1 ] . type ) { matched ( ) ; } else { unmatched ( ) ; } } }
@description adds opened cards to OpenedCards list and checks if cards are a match or nah
@description adds opened cards to OpenedCards list and checks if cards are a match or nah