[CS2113-T14-1] TheGreatDetective#41
Conversation
| ======= | ||
| The class diagram below shows how the parser interacts with the other classes | ||
|
|
||
|  |
| Here’s a (partial) class diagram of the `Command` component: | ||
|
|
||
|
|
||
|  |
| The plot of the game was adopted from one of the games available in the Mini Program in WeChat called Ju Ben Sha. The original story was in Chinese and was translated to English with the help of Google Translate. | ||
|
|
||
| ## Design & implementation | ||
| ## Design |
There was a problem hiding this comment.
May want to increase the font size of your sequence diagrams as it is abit difficult to read.
| - Print messages to terminal depending on the scene. | ||
| - Print corresponding output to terminal according to input command. | ||
|
|
||
| [UML diagram for Ui](./UiUML.png) |
| The Sequence Diagram [below](./next_command_sequence_diagram.png) illustrates within the `Command` component for the `execute(ui,investigation,sceneList)` method call of the `NextCommand` class. | ||
|
|
||
|
|
||
|  |
There was a problem hiding this comment.
I agree with @titustortoiseturtle1999, but nice job on colouring the different sections to allow us to differentiate the different sections.
| The Sequence Diagram [below](./next_command_sequence_diagram.png) illustrates within the `Command` component for the `execute(ui,investigation,sceneList)` method call of the `NextCommand` class. | ||
|
|
||
|
|
||
|  |
There was a problem hiding this comment.
I think activations bars are optional, but as some of your other diagrams included it, you may want to standardize it.
| * [Suspect Component](#Suspect-component) | ||
| * [Implementation](#Implementation) | ||
|
|
||
| {Describe the design and implementation of the product. Use UML diagrams and short code snippets where applicable.} |
There was a problem hiding this comment.
I feel that there could be a section here to cover the target user and the value proposition of the product, as well as maybe a brief overview of what it does.
| Then read the file and store the information into array list using ```ArrayList<String> content = file.readFile()```. | ||
| Eventually, edit the content and rewrite to data file using ```file.rewriteFile(content)``` | ||
|
|
||
| ###Taking Notes For Specified Scene |
There was a problem hiding this comment.
This paragraph feels a little wordy, and the length makes it disinteresting to the reader. You could consider reformatting it into something more digestible.
| ## Design | ||
|
|
||
| ### Architecture | ||
|  |
There was a problem hiding this comment.
Perhaps you can also add a : to all your class names, like :Duke or :Ui.
There was a problem hiding this comment.
Perhaps add a : to the name of the classes too.
There was a problem hiding this comment.
Is this diagram needed here? As it is repeated again below at line 53.
| Given below is a quick overview of main components and how they interact with each other. | ||
|
|
||
| {Describe the value proposition: what problem does it solve?} | ||
| ###Main components of the architecture |
There was a problem hiding this comment.
You may want to add a space after your ### to allow GitHub pages to render properly
| The Sequence Diagram [below](./next_command_sequence_diagram.png) illustrates within the `Command` component for the `execute(ui,investigation,sceneList)` method call of the `NextCommand` class. | ||
|
|
||
|
|
||
|  |
There was a problem hiding this comment.
I think activations bars are optional, but as some of your other diagrams included it, you may want to standardize it.
| The Sequence Diagram [below](./next_command_sequence_diagram.png) illustrates within the `Command` component for the `execute(ui,investigation,sceneList)` method call of the `NextCommand` class. | ||
|
|
||
|
|
||
|  |
There was a problem hiding this comment.
I agree with @titustortoiseturtle1999, but nice job on colouring the different sections to allow us to differentiate the different sections.
RemusTeo
left a comment
There was a problem hiding this comment.
Noticed some errors with the headers, as well as some potential mistakes in the sequence diagrams.
| Given below is a quick overview of main components and how they interact with each other. | ||
|
|
||
| {Describe the value proposition: what problem does it solve?} | ||
| ###Main components of the architecture |
|
|
||
| The Sequence Diagram below shows how the components interact with each other for the scenario where the user issues the command `/next`. | ||
|
|
||
|  |
There was a problem hiding this comment.
Is this image supposed to be here or in line 23? Because I notice that it is the same exact image main_architecture.png.
|
|
||
| **How the architecture components interact with each other** | ||
|
|
||
| The Sequence Diagram below shows how the components interact with each other for the scenario where the user issues the command `/next`. |
| Then read the file and store the information into array list using ```ArrayList<String> content = file.readFile()```. | ||
| Eventually, edit the content and rewrite to data file using ```file.rewriteFile(content)``` | ||
|
|
||
| ###Taking Notes For Specified Scene |
| * The first investigation scene has a `SuspectList` containing one name, "Father", | ||
| and four clues within its corresponding `Suspect` class. | ||
|
|
||
|  |
There was a problem hiding this comment.
I agree with @RemusTeo. A constructor box should be added here as well.
markuslyq
left a comment
There was a problem hiding this comment.
Few rendering errors and a few errors with some of the sequence diagrams as well.
| ## Content Page | ||
| * [Architecture](#Architecture) | ||
| * [Main Components of the Architecture](#Main-components-of-the-architecture) | ||
| * [Parser Component](#Parser-component) | ||
| * [Note Component](#Note-component) | ||
| * [UI Component](#UI-component) | ||
| * [Command Component](#Command-component) | ||
| * [Investigation Component](#Investigation-component) | ||
| * [Scene Component](#Scene-component) | ||
| * [Storage Component](#Storage-component) | ||
| * [Suspect Component](#Suspect-component) | ||
| * [Implementation](#Implementation) |
There was a problem hiding this comment.
Perhaps add the appropriate links to correct the navigation as currently, it does not navigate to the correct sub-header.
| ## Design | ||
|
|
||
| ### Architecture | ||
|  |
| ## Design | ||
|
|
||
| ### Architecture | ||
|  |
There was a problem hiding this comment.
Perhaps add a : to the name of the classes too.
| ## Design | ||
|
|
||
| ### Architecture | ||
|  |
There was a problem hiding this comment.
Is this diagram needed here? As it is repeated again below at line 53.
| Given below is a quick overview of main components and how they interact with each other. | ||
|
|
||
| {Describe the value proposition: what problem does it solve?} | ||
| ###Main components of the architecture |
| `Parser` component for the `getCommandFromUser("/next")` API call. | ||
|
|
||
|  | ||
| The class diagram below shows how the parser interacts with the other classes |
There was a problem hiding this comment.
If Parser is calling new NextCommand() shouldn't the arrow go to the :NextCommand box, with a constructor below?
| - Print messages to terminal depending on the scene. | ||
| - Print corresponding output to terminal according to input command. | ||
|
|
||
| [UML diagram for Ui](./UiUML.png) |
| * The first investigation scene has a `SuspectList` containing one name, "Father", | ||
| and four clues within its corresponding `Suspect` class. | ||
|
|
||
|  |
There was a problem hiding this comment.
I agree with @RemusTeo. A constructor box should be added here as well.
| See below for example. | ||
| - The introduction scene shows the introductory message to the user. | ||
| - The investigation scene asks the user either investigate a suspect or look into a clue. | ||
|  |
| At first ```Storage file = new Storage("name.txt")```, initialise the ```Storage``` class type with the name of the file. | ||
| Then ```file.checkPath()``` will check for existing data file and creates a new data file if the path ```./Data/name.txt```is invalid. | ||
| Then read the file and store the information into array list using ```ArrayList<String> content = file.readFile()```. | ||
| Eventually, edit the content and rewrite to data file using ```file.rewriteFile(content)``` |
There was a problem hiding this comment.
Perhaps a diagram can be included here to allow visualisation of how the storage component works.
Implement narrative lines command
Improve ending gameplay
…into branch_note_newest
…r input (from word -> int)
Update both ending narratives
Update investigation to fix bug
update DG
Changed javadocs in mf ppp
Update PPP, UG, DG
Update PPP
Pp pupdates
Fix end scene bug
Update about us and UG
…tch-1 Update DeveloperGuide.md



















TheGreatDetective gives curious and adventurous players a chance to solve murder mysteries.