Coder Social home page Coder Social logo

faces's People

Contributors

airblader avatar

Watchers

 avatar  avatar  avatar  avatar

faces's Issues

Store local statistics

  • Store metrics of the local installation
    • For example, total number of correct and incorrect guesses.

Implement the Face-Quiz logic

  • Display four different names
    • The correct one and three random ones (from existing faces)
  • Let the user select their answer and make sure they cannot change their answer
  • Provide visual feedback on whether the answer is correct
  • Find a way to move on to the next quiz

Variable probability

  • Choose faces depending on a distribution
  • Whenever the user chooses the wrong name in the "Face-Quiz", make the incorrect and the actually correct choice more likely to appear in a quiz in the future.
  • Whenever the user chooses the correct name, that name should become less probable.
  • Think of a good way to model this
    • For example, new users should, in the future, have a higher probability as well.

Add a "Face-Quiz"

  • Add a new mode "Face-Quiz" similar to "Präsentiermodus"
    • Add a button for it on the main page
  • Don't use a swipe view, just a static card
  • Add four buttons to display names, display the same (correct) name on all four of them.

Introduce a static data factory

  • Introduce a data factory for faces (FaceFactory)
  • Define the data model (Name, Picture)
    • Use a dummy picture for now in all faces.
  • Create a function to retrieve all faces.

Create start page

  • See www/app/main/main.html
  • Create a button for "Präsentiermodus".

Create presenter page

  • Create a new page for the "Präsentiermodus"
  • Adapt routing to make the button go to this page
  • Create the swipe view for cards

Provide a database

  • Model the face model into the database
  • Move the static factory data to dummy data in the database
  • Create a database service and inject + use it in the FaceFactory

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.