-
Notifications
You must be signed in to change notification settings - Fork 282
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
[CS2113-T14-2] eCardnomics #39
base: master
Are you sure you want to change the base?
[CS2113-T14-2] eCardnomics #39
Conversation
…into trang-UG-DG
…into trang-UG-DG
update UG and DG
…into branch-UserGuide Merge branch-UserGuide into master
docs/DeveloperGuide.md
Outdated
|
||
#### Commands | ||
|
||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you would like to break this diagram into two parts, so that it is less complicated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed, thanks!
docs/DeveloperGuide.md
Outdated
interacts with `GameStorage` on package-private basis; i.e., `GameEngine` and `GameStorage` have full mutual | ||
access as if they were a single class. This is one of the main intentional design decisions. | ||
|
||
 | ||
The **Sequence Diagram** above shows how the components interact for a basic `create <deck name>` command where a new deck is created and added in to the `Deck List`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The user can also modify to tags of the decks by using tag or untag command, and uses search by tag to find | ||
a group of decks he/she is interested in. | ||
|
||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the DG diagrams looks engaging in a sense that the diagrams are colored. The text explanation is clear and easy to understand.
However, you can consider having different markdowns for class and methods.
docs/DeveloperGuide.md
Outdated
* `Deck List` : A complete list of all the `Deck`s in memory. | ||
* `Storage` Reads and writes data from and to a text file. | ||
|
||
#### How to **components** interact with one another |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* `Storage` Reads and writes data from and to a text file. | ||
|
||
#### How to **components** interact with one another | ||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* `Storage` Reads and writes data from and to a text file. | ||
|
||
#### How to **components** interact with one another | ||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/DeveloperGuide.md
Outdated
1. The overall logic component consists of the Parser class and Command class. | ||
2. The Parser parses the user input and creates the respective Command object. | ||
3. This command will be executed by the Main class. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might have missed out bolding the classes here
sequence diagram showcasing this interaction, for execution of a `CreateCommand`, e.g. `create | ||
microeconomics`: | ||
|
||

method called, but in this sequence diagram that is essentially a snippet of the lifeline of createCommand
I cannot also include its interactions with Main class because that's out of scope here; the point is that createCommand
does exist for the whole duration shown here.
Although, I should include some textual description of the gist of what I am conveying here, thanks!
docs/DeveloperGuide.md
Outdated
and Deck Mode. | ||
|
||
The following diagram shows how the `PowerPointCommand`'s `execute()` calls the `createNewPowerPoint()` method of `PowerPoint`. | ||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`toString(boolean isQuestion, int offset)` method of a `FlashCard` | ||
object. | ||
|
||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The user can also modify to tags of the decks by using tag or untag command, and uses search by tag to find | ||
a group of decks he/she is interested in. | ||
|
||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor comment: For the sequence diagram below, would it be better if
Main
class is put on the left-most side? Because I misunderstood it first.
I believe the idea we were trying to convey is that the user does not interact directly with the Main
class, but directly with the Ui
class instead via the Ui
's readUserInput()
method.
docs/DeveloperGuide.md
Outdated
|
||
The following elaborates the execution flow of Game Mode, from after a `start` command has been parsed in Normal Mode: | ||
|
||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update PPP link
…into master # Conflicts: # docs/DeveloperGuide.md # docs/images-dg/Tag-feature.png
update toc dg ug
Update DG and UG
Fix pptx deck mode bug
Update DG Storage sequence diagram to have transparent background
Update DG diagram
fix white bg images
Flash Card manager for Economics students on Command Line