Code Monkey home page Code Monkey logo

ko-stack-trainer's Introduction

ko-stack-trainer

A super simple, super lightweight, cross-device memory game for memorising a specific order ('stack') of deck of cards. Runs client-side in the browser and state is saved on the localstorage object. Uses the JavaScript framework Knockout.js (which in turn uses jquery).

Bugs

  • (Minor) fouc on load
  • (Minor) the 'cheat sheet' is hardcoded, would be better to generate from selected stack use symbols on cheat sheet for suits

Features to add

  • Minimal progress bar
  • Difficulty settings
    • level ideas:
      • level 1: multiple choice from current bank
      • level 2: full range of answers
      • level 3: add in before/after questions at random
      • level 4: 20s timer
      • level 5: 10s timer
    • Optional timer setting on start page: user can set time in seconds (5s - 45s). If time runs out before an answer submitted has same effect as the 'dontknow' button.
    • If timer not turned on, turn on after completing the stack once, and each subsequent time decrease second by 1s to the min 5s.
  • Adding a custom user defined stack (CSV comma delimited)
  • On desktop/laptops, keyboard entry
  • On mobile, entering position using 0-9 instead of 1-52
  • Save and load
    • A way to transfer state between browsers.
    • Prob doable by hashing(?) the localstorage object and spitting out a string which the user copies and pastes.
    • Would be better to have a two way sync but not sure how do without a backend.
    • Some sort of string in the URL...?

ko-stack-trainer's People

Contributors

p44v9n avatar

Watchers

 avatar  avatar

Forkers

xsection

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.