MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / disableCards

Function disableCards

assets/js/Memory_game.js:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30function disableCards() {
31 firstCard.removeEventListener('click', flipCard);
32 secondCard.removeEventListener('click', flipCard);
33
34 resetBoard();
35}
36
37function unflipCards() {
38 lockBoard = true;

Callers 1

checkForMatchFunction · 0.85

Calls 1

resetBoardFunction · 0.85

Tested by

no test coverage detected