Giter VIP home page Giter VIP logo

concentration's Introduction

Concentration

A game of memory - written in flutter

Card memory is a game where you have to click on a card to see what image is underneath it and try to find the matching image underneath the other cards.

web - https://chrisstayte.app/Concentration

Download on the App Store

Get it on Google Play

User Stories

  • User can see a grid with n x n cards (n is an integer). All the cards are faced down initially (hidden state)
  • User can click a button to start the game. When this button is clicked, a timer will start
  • User can click on any card to unveil the image that is underneath it (change it to visible state). The image will be displayed until the user clicks on a 2nd card

When the User clicks on the 2nd card:

  • If there is a match, the 2 cards will be eliminated from the game (either hide/remove them or leave them in the visible state)
  • If there isn’t a match, the 2 cards will flip back to their original state (hidden state)
  • When all the matches have been found, the User can see a dialog box showing a Congratulations message with a counter displaying the time it took to finish the game

Bonus features

  • Use can choose between multiple levels of difficulty (Easy, Medium, Hard). Increased difficulty means: decreasing the time available to complete and/or increasing the number of cards
  • User can see the game statistics (nr. of times he won / he lost, best time for each level)

Useful links and resources

BUILD COMMAND

flutter build web --web-renderer canvaskit --base-href /Concentration/
  • canvaskit is used for smooth animations across the board in the browser
  • basehref was selected because of hosting in github pages

concentration's People

Contributors

chrisstayte avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

gaoypchina

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.