Inspiration
I am fascinated with responsive web designing. And this weekend's theme is board games. So thought to build a responsive web application and that too a board game. This led me to work on this project.
What it does
It is a card matching game that consists of 8 pairs of cards shuffled and arranged as a 4 by 4 grid. A player has to match all the 8 pairs of cards in order to win the game. On winning, he/she can know the time taken by him/her to match all the cards, the number of moves made along with star rating.
How I built it
I have used web designing tools HTML, CSS, and JS to build this game. Firstly, I have ensured to bring an aesthetic feel to the UI. For that, I have used the wobble effect for the cards and added sound effects. Then, coded the logic for flipping the cards, managing star rating, and timer in JavaScript. And finally, I have used media queries in CSS for bringing responsiveness to the application(Mobile view and Tablet view).
Challenges I ran into
I felt challenged to make all the components responsive using media queries. From next onwards, gonna use the bootstrap framework.
Accomplishments that I'm proud of
The UI came out pretty cool and beautiful than I expected. I finally made it fully responsive and aesthetic.
What's next for Matching Game
I am going to use bootstrap to make it responsive instead of media queries. And enhance the game's functionality and UI.
Log in or sign up for Devpost to join the conversation.