The Memory Game V2 is an enhanced version of the classic card-matching game built using vanilla JavaScript. This update introduces new features, improved gameplay mechanics, and a refined user experience, showcasing advanced modularization and problem-solving abilities.
- Start the Game: Select a grid size to begin.
- Match Cards: Flip two cards at a time. If they match, they stay revealed. If not, they flip back over.
- Win Condition: Match all card pairs to win the game.
- Reset: Reset the game at any time to start over.
- Dynamic Grid Sizes: Choose different grid sizes for varying levels of difficulty.
- Timer: Tracks the time it takes to complete the game.
- Flip Counter: Records the number of card flips made during the game.
- Enhanced Visual Design: A more modern and polished interface.
- Mobile Responsiveness: Optimized for all screen sizes, ensuring a seamless experience on any device.
- Multiplayer Mode: Play against friends in real-time to see who can match all pairs first.
- Node.js Server Integration: The game now includes a Node.js backend for managing multiplayer connections.
- Socket.io for Real-Time Communication: Ensures smooth and instant updates between players during multiplayer matches.
- HTML5: For the structure of the game.
- CSS3: For improved styling, animations, and responsive design.
- JavaScript (Vanilla): For the game logic and interactive features.
- Node.js: Powers the server-side logic to support multiplayer mode.
- Socket.io: Enables real-time communication for the multiplayer experience.
To run the game locally:
- Clone the repository.
- Navigate to the project public folder.
- Install dependencies using
npm install
. - Run
npm install
- Run
npm run start
- Navigate to the project server folder.
- Install dependencies using
npm install
. - Run
npm run devStart
.
- Interactive Card Flipping Animation: Smooth and engaging animations for flipping cards.
- Adding sound effects for card flips and matches.
- Introducing a leaderboard to track high scores.
- Expanding multiplayer features with new game modes.
- Add Offline multiplayer mode with wifi
This project exemplifies advanced problem-solving and modularization skills while providing an engaging experience for players.