juliuscc / speak.exchange

An online bilingual dictionary, which also offer a flashcard app geared towards learning new words in a foreign language.
https://speak.exchange/
MIT License
2 stars 0 forks source link

Space-repetition system #185

Open falcasantos opened 4 years ago

juliuscc commented 4 years ago

As I understand it, when a user clicks 'easy'/'hard'/etc we know how long to not show the card for. So if they click 'easy' we know not to show the card until a week has passed.

If it is so we can save a timestamp (showAt) on every card, which is how long to wait before we show it.

When a user goes to run flashcards, we filter out the cards that have a date later than 'now'.

juliuscc commented 4 years ago

Do we show ALL cards that can be shown, or do we always select 10 (or other number) random from applicable cards? Should we randomize the cards?