memory-game
memory-game copied to clipboard
JavaScript, HTML and CSS grid-based game
1.Added Player Turn and Match Tracking: Introduced variables playerTurn to keep track of which player's turn it is and matches to record the number of matches each player has made....
Move that right above the for easier reading. Make sure to delete the one in the head.
Revised: cardArray.sort(() => 0.5 - Math.random());
Revised: ];
From line 7, column 3; to line 7, column 39 Just get rid of charset="utf-8" in the script tag.