function lockCards() {
    openCards.forEach((card) => {
        card.classList.add("match");
    });
}
/**
 * @description Lock the two open cards, so they don't respond to click
 * events anymore.
 */
@description Lock the two open cards, so they don't respond to click
events anymore.
@description Lock the two open cards so they don ' t respond to click events anymore .
function lockCards() {
    openCards.forEach((card) => {
        card.classList.add("match");
    });
}
function lockCards ( ) { openCards . forEach ( ( card ) => { card . classList . add ( "match" ) ; } ) ; }
@description Lock the two open cards, so they don't respond to click
 events anymore.
@description Lock the two open cards so they don ' t respond to click events anymore .