Skip to content

LIADN7/MemoryGame

Repository files navigation

MemoryGame

The memory game, Test your memory with a memory game!

Rules:

The player is given a board consisting of a variety of pictures.

At the start, all pictures are folded (flipped, so the picture itself will be invisible).

Each turn, the player pick 2 pictures to flip.

If he fails - the current pictures get flipped again to be invisible and a point loss.

If he succeeds (player found 2 of a kind) - the current pictures remain unfolded (visible).

If the player (player found 2 of a kind) - the current pictures remain unfolded (visible) and two random adjusted tiles swap position with each other.

To help the player, The player can click the "help" icon once in the game to help him reveal 2 cards, but be careful because the "help" action will result in a point loss.

The game over when:

  • all the pictures unfolded - the player wins.
  • turns amount limit has reached - the player loses
  • The time is up - the player loses

To play on the web

LINK

To run in localhost

git clone https://github.com/LIADN7/MemoryGame.git
cd MemoryGame
npx http-server

Credits

Assets:

  • Spinomenal company

Sound:

  • Dragon ball z

@authors liadn7

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages