Terminal-based typing game for memorize Japanese vocabularies
- Python3.8 or later
- Curses
Clone form repo
git clone https://github.com/trangtops/typomorise.git
cd typomorise
python3 main.py
-f [input_file]
Specify the vocabulary file. Default value is vocab.csv. Note that the file must be csv format seperate with tab
-c
Save a progress to vocab_checkpoint.csv when user exit program with ctrl+c.
-r
Each word that user finished typing will be put back to the end of vocab list
-l
Load from vocab_checkpoint.csv
-t
A test mode that can save correct and wrong answer to csv by compare between kanji of user input and kanji of input csv
-s
A shuffle mode that will shuffle a whole vocabs
-p [number of word per set]
A phase mode. This will divide vocabs into set which will repeat that set untill user decide to go next set
- Interface will consist of 2 windows. The upper window is for typing input, and below one shows list of vocabularies.
- The first row of vocabulary list is the word you have to typing.
- After finished typing, press enter to pop out the first row. Then the second row will move up.
- one row of vocabulary is consisted of 3 words. The first one is a kanji, second is a reading in hiragana, and third is a meaning in english.
- After you finished typing each word, press TAB to move to the next word
- In kanji and hiragana word,for each character you're typing, a program will automatically convert from english to hiragana.
- For kanji part, you have to typing hiragana to match the reading. If you typing correctly, it will converted to kanji when you press TAB
- You can press backspace to delete a character and go back to previous word. Alternatively, you can press ctrl+backspace to delete a whole word
- You can also press ctrl+w to hide kanji colume, ctrl+e to hide reading, and ctrl+r to hide english colume