- Size of grid must be equal with size which user select in welcome page.
- The sorting of cards should be random.
- When user enter the page timer started.
- User click to some card:
- if its first card: just open the card
- if its second card
- open the card
- increment steps count +1
- if card matched: hide this cards
- not matched: flip cards back
- Game finish when user matched all pairs. Game finish and user redirect to
congratulationpage and data about results must be saved to records table on local-storage - If user click
Restartbutton:- cards shuffle
- steps counter reset to 0
- timer restart
- When user click
new gamebutton redirect user to Welcome page
