lewisjwilson / kmj

The all-in-one Japanese dictionary/flashcard app.
2 stars 0 forks source link

Increase flashcard difficulty #58

Open lewisjwilson opened 3 years ago

lewisjwilson commented 3 years ago

Idea:

if (correct kanji is not equal to the kana reading) {

    choose a KANJI character in the kanji reading

    for (number of incorrect options required) {

        try {
            use instr(column, 'char') > 0 in sqlite query to select an entry with the same kanji
        } catch (Not found exception) {
            select a random other flashcard entry
        }

    }
}

In addition, change options from 4 to 6 options?