Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing Leitner system so far.. still not complete #103

Closed
wants to merge 0 commits into from
Closed

Conversation

vigneshbhuvan-nus
Copy link

@vigneshbhuvan-nus vigneshbhuvan-nus commented Oct 21, 2020

Current Implementation of Leitner System:

Newly Created Classes:

  • Question: to hold the question i.e the translation of the word
  • Answer: to hold the correct answer of the question, as well as the attempted answer, and checks if the answer is correct
  • AnswerList: list of all answers
  • QuestionList: list of all questions
  • Leitner: sort of the quiz object, holding the questionlist, answerlist, the questionindex, numberOfCorrectAnswers, score etc. Leitner takes in a UniqueEntryList during its initialisation, so that a questionlist and answerlist can be created.

Each deck will come with a Leitner.

Two New Commands: AnswerCommand, StopCommand. AnswerCommand will take in the input answer and update the answerlist of the leitner. StopCommand will reset the answerlist so that the attempted answers will be reset + the score of the quiz will be tabulated.

Issues so far:

  • The AnswerList is always empty, despite initialising it. Perhaps I am not initialising it properly. This prevents me from adding my_answers to the list
  • Some issues with the AddressBookParser, not able to switch to the play mode properly. stop mode works all right.

Things left to do:

  • Update the GUI to reflect Leitner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant