Memory Card Game Spec
Elements
- Play time counter
- Move counter
- Restart Button to reset all states
- Game finish popup
- 2 levels, easy: 4 x 4, hard: 6 x 6
Ref)
Rules (- The objective is to collect all pairs of cards
- Shuffle the cards and lay them on the table, face down, in rows.
- The player turns over any two cards (one at a time). If it is the first turn, start the time counter.
- Keeps the cards opened in step 3 if the cards match, otherwise turn them face down again after 0.5 sec. No card is allowed to be opened until this step is finished.
- Move counter add 1.
- Repeat 3 to 5 until all cards are opened(Game Finished)
- Stop the timer
- Popup congratulation message.
- Go to step 2
Reference
https://jtrfs.github.io/memory-game/
Bonus
Make a cheat script run in console to auto play the game