Memory Match Game banner

Memory Match Game

19 devlogs
7h 23m 38s

This game will test your memory by matching some cards. I built it using HTML, CSS, and JavaScript.
It was inspired by a video tutorial, but I added my own features, like my own images and colors.

Demo Repository

Loading README...

Sadiya

Shipped this project!

Hours: 4.25
Cookies: 🍪 13
Multiplier: 3.1 cookies/hr

I made a memory matching game using HTML, CSS and JavaScript. The game shows a grid of cards with emojis, and the player has to flip two at a time to find it’s match before the time runs out. I learned how to create buttons, a timer, move counter, images, levels and text to appear.

Sadiya

This is the whole game in action

0
Sadiya

I added more JS where you are now able to hit the level buttons and the start button

Attachment
0
Sadiya

I just finished the CSS and now I am on the JS
Here is some of the JS I am working on

Attachment
0
Sadiya

Right now I am rewriting my css and this is what I have so far
I have more but this is just some

Attachment
0
Sadiya

This is how rewriting my HTML is going
It is going well

Attachment
0
Sadiya

added code that would make the cards flip and removed the reset button since it is not working

Attachment
0
Sadiya

I am rewriting my code to better understand it
Here is the HTML, CSS and JS
This is some of the css I have more

Attachment
0
Sadiya

Change this code to make it more readable and understandable

Attachment
0
Sadiya

Added a timer and it only starts when a card is clicked on

Attachment
0
Sadiya

Added a flip sound for the cards
A winning sound for the end of that level
A counter for the amount of moves that were played

Attachment
0
Sadiya

Added some comments to better understand my code
Here are some examples

Attachment
0
Sadiya

This is what I have after changing the colors multiple times
I might change again

Attachment
0
Sadiya

Added 3 levels and changed the images

Attachment
0
Sadiya

Now I will add some levels and each level will have different emojis

Attachment
0
Sadiya

Now every time there is a match it stay and every time there isn’t a match it flips back

0
Sadiya

This is how the game is looking so far

Attachment
0
Sadiya

These are the emojis or images I will add for this game
I might change some
This is a hint for the theme

Attachment
0
Sadiya

Made my first commit on this project

Attachment
0