GithubHelp home page GithubHelp logo

fend-project-memory-game's Issues

if a card is not matched, it should be closed

If a card is not matched, it stays open. This should not happen. if a card is not matched, it should be closed. This can be easily fixed by clearing the list of opened cards when no match is found.

Card shuffling function.

Use the card shuffling function given in the starter code to shuffle the list of cards before displaying them, and include a winning modal for the user to know when he has won :)

A modal when a user wins the game.

When a user wins the game, a modal appears to congratulate the player and ask if they want to play again. It should also tell the user how much time it took to win the game, and what the star rating was.

For the modal, you can make a separate div in the HTML and then hide/display it using JS. Do not forget to add all the required information on it (you can fetch that information using JS and embed it into the modal) :)

number of moves

The number of moves should be incremented when 2 cards are clicked, not one.

Fix timer.

On restarting the game, the timer speeds up, please try to maintain a fixed pace throughout the game.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.