go install github.com/RadhiRasho/german-quiz-cli@latest
I recommend renaming the binary to german
or german-quiz
for easier access
mv $GOPATH/bin/german-quiz-cli $GOPATH/bin/german
OR
mv $GOPATH/bin/german-quiz-cli $GOPATH/bin/german-quiz
A simple game to learn German words. The game will display the English definition of the word along with a sentence in English that uses the word. The player must then type the German word that corresponds to the English definition.
- Run the game
- Enter the number of words you want to learn
- Normal Mode: The game will display the English definition of the word along with a sentence in English that uses the word. The player must then type the German word that corresponds to the English definition. The list of words is from the
./data/KnownWords.json
file. - Challenge Mode: The game will display the English definition of the word along with a sentence in English that uses the word. The player must then type the German word that corresponds to the English definition. The list of words is from the
./data/Top1000.json
file.
- Open the
./data/KnownWords.json
file - Add the words you want to learn in the following format:
{
"word": "ich",
"EnglishSentence": "I like rain.",
"pos": ["pronoun"],
"definition": ["I"],
"description": "First person singular pronoun. Used to refer to oneself."
}
- Run the game
- Open the
./data/KnownWords.json
file - Remove the word you want to remove
- Run the game
- Open the
./data/KnownWords.json
file - Update the word you want to update
- Run the game
--help | -h
: Display the help menu--challenge | -c
: Play the game in challenge mode (default is normal mode)
german --help | german -h
---------------------------------------------
german --challenge | german -c