This is a classic memory game, the idea is just too have fun and use some JS. It is all made with only html, js e css. No js third-party libs
Play it here!!
This game is made using ´OOP´ (Object-oriented Programing) Javascript.
Basically the game has to main classes Game and Card
This is constructor is called every time we want to start a new Game. In there are all the game properties, as start time,number of moves, etc..
The Card class is used to add ao the Cards of the game. Each one with your icon and basic functions, as turn for example.
The style uses mainly flexbox and media querys to be responsive.
- Build a leaderboard
- Change the classes to es6 sintaxe