Memory Game with Additional Buttons (Khan Academy-Advanced JavaScript Course)
This is a memory game developed as a project on Khan Academy. My modifications were the following:
- Added two buttons: "Start Game" and "End Game" with associated methods.
- Added an initializeGame function and Tile.prototype.handleMouseClick method.
- Modified draw function to handle new functionality.
Instructions:
- Copy all files into one folder.
- Double-click "Memory Game.html" to begin.
Rules:
- Click "New Game" to start a new game.
- Click tiles to match.
- The program records your clicks and will display at the end, along with an option to quit or play again.