https://github.com/kostad02/memory-card-game-js
Memory game
https://github.com/kostad02/memory-card-game-js
game js memory-game
Last synced: 6 months ago
JSON representation
Memory game
- Host: GitHub
- URL: https://github.com/kostad02/memory-card-game-js
- Owner: KostaD02
- License: mit
- Created: 2023-04-12T19:11:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-07T13:14:15.000Z (over 2 years ago)
- Last Synced: 2025-01-11T12:37:25.672Z (over 1 year ago)
- Topics: game, js, memory-game
- Language: JavaScript
- Homepage: https://kostad02.github.io/Memory-Card-Game-JS/
- Size: 4.03 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Memory Card Game Rules
## Objective
The objective of the game is to match all pairs of cards as quickly as possible.
## Setup
1. Choose the number of cards to be generated (between 10-20). This number will be doubled to determine the total number of cards.
2. It will be shuffled itself whole board
## Gameplay
1. The player flips over two cards by clicking or tapping on them.
2. If the two cards match, they will stay face up and the player can continue to the next pair.
3. If the two cards do not match, they will rotate back face down and the player can try again.
4. The game ends when all pairs of cards have been matched.
## Rules
1. Only two cards may be flipped over at a time.
2. The player must remember the location of each card to match pairs.
3. The game can be played multiple times to beat your best score.