[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
|
|
||
| #### Commands | ||
|
|
||
|  |
There was a problem hiding this comment.
Maybe you would like to break this diagram into two parts, so that it is less complicated?
| 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`. |
| 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. | ||
|
|
||
|  |
siewwencode
left a comment
There was a problem hiding this comment.
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.
| * `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 |
| * `Storage` Reads and writes data from and to a text file. | ||
|
|
||
| #### How to **components** interact with one another | ||
|  |
| * `Storage` Reads and writes data from and to a text file. | ||
|
|
||
| #### How to **components** interact with one another | ||
|  |
| 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.
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!
| and Deck Mode. | ||
|
|
||
| The following diagram shows how the `PowerPointCommand`'s `execute()` calls the `createNewPowerPoint()` method of `PowerPoint`. | ||
|  |
| `toString(boolean isQuestion, int offset)` method of a `FlashCard` | ||
| object. | ||
|
|
||
|  |
| 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.
A minor comment: For the sequence diagram below, would it be better if
Mainclass 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.
|
|
||
| The following elaborates the execution flow of Game Mode, from after a `start` command has been parsed in Normal Mode: | ||
|
|
||
|  |
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