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

Function resetBoard

assets/js/Memory_game.js:48–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48function resetBoard() {
49 [hasFlippedCard, lockBoard] = [false, false];
50 [firstCard, secondCard] = [null, null];
51}
52
53(function shuffle() {
54 cards.forEach(card => {

Callers 2

disableCardsFunction · 0.85
unflipCardsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected