RoadTripMoustache / kana_to_kanji

Simple application to learn Japanese kana (hiragana, katakana) and kanji
5 stars 1 forks source link

feat: Implement blank question format #192

Open apomalyn opened 3 months ago

apomalyn commented 3 months ago

As a user, I want to have sentence with blank on it that I need to fill.

Requirements

Implement the BlankQuestion model extending TextQuestion. The following instructions are supported:

The subject of the question will contains _ that indicate where an answer is expected. Each _ (called blank) correspond to a single kanji or kana. A blank question should have a maximum of 2 blank to fill.

Implement a view that respect the following design.

If the japanese keyboard is available, allow the user to type a single character then move to the next blank if there is multiple blank to fill. When all blank are filled, do not close the keyboard, let the user do it.

Design

Question flow ![image](https://github.com/RoadTripMoustache/kana_to_kanji/assets/22211097/1445216d-dd46-4e4e-bc88-04000753dbdb)

Dependencies

Child of #160

Depends on:

Parent of: