ungleich-learning-circle/sami/learn-python-the-hard-way/learn-german.org
2020-06-25 15:46:41 +02:00

32 lines
1.3 KiB
Org Mode

* Ger man
** This game can be a quiz about the trennbaren verben since the german language is very vast I can start with a specfic topic that would the phrasal-verb which are really confusing in the German verbs
*** The quiz is simply player gets a trennenbaren verb and choices and then chooses the best answer
**** Every time a player gets the correct, player answer gets a point.
* Prepositions
** This game can be about prepositions
*** The quiz is gets verb and choices and then chooses the best answer.
- My Game Description
- I want to program a translation Quiz
- Game flow is:
- The Quiz shows a german word
- It prompts for a translation
- The player enters the translation
- Quiz compares
- The Quiz outputs write or wrong
- The Quiz Counts your points
- For a correct answer player get plus 5 points
- For incorrect answer player gets minus 3 points
- The Quiz ends when player types quit
- When you quit the Quiz shows the total points
- ( optional) The Quiz shows total amount of write and wrong answers
* Final stage
# Final stage
if score <= 1:
print("Your total score is:", score, "- You suck!")
elif score == 2:
print("Your total score is:", score, "- You went ok!")
else
print("Your total score is:", score, "- You are awesome!")