Memory Match: A Game I built this project to give kids a fun, simple way to work on their focus and memory. It’s a classic card-matching game..
How to jump in:https://kaushalch1.github.io/card_flip/
Pick your battle: * Solo Mode: Perfect for a quick brain workout. Try to clear the board in as few moves as possible!
2-Player Mode: This is where it gets competitive. Grab a friend or a parent and see who can snag the most pairs.
The Goal: Click any two cards to flip them. If they match, they stay; if not, they flip back. The game ends when the whole board is revealed.
Images::
Why I built this I’ve always loved how simple games can be the best teachers. I wanted to see if I could take a basic concept—memory—and build the entire logic from scratch. I made this specifically with young children in mind, making sure the interface was clean and the "win" . Plus, I wanted to challenge myself to handle the logic for a 2-player turn-based system, which was a fun puzzle to solve!!
The Tech Stack I kept things lean and efficient for this one::
HTML & CSS: I used these for the layout and those snappy card-flip animations.ons.
JavaScript: This is the "brain" of the project. I wrote every line of the game logic myself—from the shuffling algorithm that mixes the cards every time you restart, to the system that tracks scores and player turns.
Public Assets: To keep it looking kid-friendly, I used some great open-source icons for the card faces.