sameer-j / RNMemoryGame

Memory game, made using react-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

Memory game, made using react-native


Languages

Language:JavaScript 40.2%Language:Java 27.7%Language:Objective-C 20.0%Language:Starlark 8.6%Language:Ruby 3.6%