Joshua Tan's Project Portfolio Page
Project: Medmoriser
Medmoriser is a desktop app to help medical students organise, memorise and revise their content. The user interacts with it using a CLI, and it has a GUI created with JavaFX and is written in Java.
Given below are my contributions to the project.
-
Code contributed: RepoSense link
- New Feature: Added a quiz feature for users to test themselves.
- What it does: Allows users to quiz themselves to test their memory on the answers to the questions. Medmoriser selects a random question based on the keywords that users input and quizzes them. After answering the question, the answer to the question will show up so that users can check their answers.
- Justification: This feature improves the product significantly because our app utilizes active recall to help users to memorise their content. Active recall is a proven study technique to help improve memory.
- Highlights:
- It required an in-depth analysis of design alternatives challenging as it was an entirely new feature on its own.
- It required commands to be created. Other commands created for this feature are
answer
andendquiz
. - New command classes and their parser classes had to be created.
- New test classes to test our features.
- This feature was rather challenging to implement. We had to keep track of the state, whether there was an ongoing quiz or not. Furthermore, we had to ensure a flow (ie. answer command comes after quiz command), whereas for the existing commands, they were one off commands. Hence it was challenging to implement the carrying over of the state across different commands.
- New Feature: Added an answer feature for users to answer the quiz question.
- What it does: Allows users to answer the quiz question.
- Justification: This feature improves the product significantly as users are able to check their input answer against the answer that was keyed into Medmoriser for that particular question. This way they will know whether they could remember what they learnt.
- Highlights:
- It required a lot of error checking, to ensure that this command could only be called when there was an ongoing quiz and when the question has not yet been answered.
- New Feature: Added an end quiz feature when users are done with the quiz.
- What it does: Allows users to end an ongoing quiz. When there is an ongoing quiz, users have to first end the quiz before being able to run other commands other than
answer
andnext
.
- What it does: Allows users to end an ongoing quiz. When there is an ongoing quiz, users have to first end the quiz before being able to run other commands other than
- Enhancements to existing features:
- Updated the list command to show QAndAs (Pull requests #40)
- Updated the edit and add command examples (Pull requests #137)
- Redefined add and edit functions such that there can only be a limit of 1 prefix in the user input. (Pull requests #154)
- Wrote additional tests:
AddCommandParserTest
,EditCommandParserTest
,NextCommandTest
,QuizCommandParserTest
. (Pull requests #154 ,#160, #171) - Refactoring: Removed space between prefix and parameters for quiz and find command. (Pull Requests #65)
- Refactoring: Removed AB3 phone and email instances. (Pull Requests #71)
- Documentation:
- User Guide:
- Developer Guide:
- Community: