https://github.com/sameer-j/rnmemorygame
Memory game, made using react-native
https://github.com/sameer-j/rnmemorygame
Last synced: 16 days ago
JSON representation
Memory game, made using react-native
- Host: GitHub
- URL: https://github.com/sameer-j/rnmemorygame
- Owner: sameer-j
- Created: 2021-11-27T09:40:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-28T16:57:09.000Z (over 4 years ago)
- Last Synced: 2025-01-03T15:29:24.269Z (over 1 year ago)
- Language: JavaScript
- Size: 282 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RNMemoryGame
Game behaviour is based on https://www.improvememory.org/brain-games/memory-games/memory-game/
## Assumptions
NOTE: Assumptions are based on the behaviour of game at above link
- A card can only "open" on press; cannot be closed back
- At max two cards can be open at a time
- "Attempts" get increased by one when second card is opened
- After the second card is opened, after a pause to show the cards, it matches them and does one of the following operations:
- if matches, increase "Matches" by 1 and hide/remove both the cards
- if doesnt match, close/turn-back both the cards
- On completion, show "You did it in <> moves/attempts"