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

[CS2113-T13-4] TypingGame #36

Open
wants to merge 384 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 223 commits
Commits
Show all changes
384 commits
Select commit Hold shift + click to select a range
e94958e
Merge pull request #56 from Isabella-L/v2.0-timermode
LimJiaJing Oct 25, 2021
8bcb483
modifications and printout userInput
Isabella-L Oct 25, 2021
5c976b8
checkstyle update
Isabella-L Oct 25, 2021
e11f786
Update EXPECTED.TXT
Isabella-L Oct 25, 2021
b896d26
Merge pull request #60 from Isabella-L/v2.0-timermode
LimJiaJing Oct 25, 2021
6bdde74
Initial change for revamp for summary feature
LimJiaJing Oct 25, 2021
31277b6
Merge branch 'master' into redo-summary-feature
LimJiaJing Oct 25, 2021
abdca64
Change signature of some methods in SummaryManager and SummaryUI.
LimJiaJing Oct 25, 2021
1f78765
more OOP for game class
Isabella-L Oct 25, 2021
29e07fd
Debug summary feature, Link summary feature to game, create some clas…
LimJiaJing Oct 25, 2021
d5f493c
Redo logic of calculating error words, error word counts, and correct…
LimJiaJing Oct 26, 2021
3630e89
Merge pull request #61 from LimJiaJing/redo-summary-feature
Isabella-L Oct 26, 2021
78f1cf1
Add test code for SummaryUi and SummaryManager
LimJiaJing Oct 26, 2021
c644234
Reformat code to abide by coding standard
LimJiaJing Oct 26, 2021
c2dd908
Merge pull request #62 from LimJiaJing/redo-summary-feature
DuckWillow Oct 26, 2021
3701657
First commit of storage feature (untested)
LimJiaJing Oct 26, 2021
9ef90fd
Edit Command interface to accept command arguments. Add ViewCommand.
LimJiaJing Oct 26, 2021
2f1d9aa
Merge pull request #63 from LimJiaJing/edit-command-interface
Isabella-L Oct 26, 2021
0fbe8b3
Merge branch 'master' into storage-v2.0
LimJiaJing Oct 26, 2021
38a9ffb
Convert methods in Storage to static. Associate Storage to GameRecord…
LimJiaJing Oct 26, 2021
6c91086
Some DG update
DuckWillow Oct 26, 2021
f8d90b4
First commit of view feature (untested)
LimJiaJing Oct 26, 2021
8af7397
Ignore seedu.typists.ui.TextUi.log
LimJiaJing Oct 26, 2021
f575d63
commit log file
LimJiaJing Oct 26, 2021
75d4558
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Oct 26, 2021
32b8eb0
Add automatic store and read game records feature
LimJiaJing Oct 26, 2021
668b8a7
fix bug
Isabella-L Oct 26, 2021
3f12892
minor
Isabella-L Oct 26, 2021
c92eca1
Edit exit logic
LimJiaJing Oct 26, 2021
eef514f
Merge pull request #67 from Isabella-L/v2.0-timermode
LimJiaJing Oct 26, 2021
eb9983d
Merge pull request #65 from DuckWillow/master
LimJiaJing Oct 26, 2021
6f2fc9e
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp
LimJiaJing Oct 26, 2021
589b05d
Update proposedImplementation for View Statistics Feature
LimJiaJing Oct 26, 2021
4a167a9
Remove animation and error, DG update
snuckerzlol Oct 26, 2021
ddf1f14
DG
snuckerzlol Oct 26, 2021
80329c0
Merge branch 'master' into storage-v2.0
snuckerzlol Oct 26, 2021
bedfbef
Merge pull request #66 from LimJiaJing/storage-v2.0
snuckerzlol Oct 26, 2021
2711cf3
Merge branch 'master' into master
snuckerzlol Oct 26, 2021
72a8d18
DG
snuckerzlol Oct 26, 2021
8a36da6
Merge remote-tracking branch 'origin/master'
snuckerzlol Oct 26, 2021
e35ca2a
DG
snuckerzlol Oct 26, 2021
de55a0c
Update seedu.typists.ui.TextUi.log
Isabella-L Oct 27, 2021
0160e7f
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Oct 27, 2021
254b500
Delete Content.puml
snuckerzlol Oct 27, 2021
067a5e8
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp
LimJiaJing Oct 27, 2021
f2a547a
Merge branch 'master' into view-past-records-v2.0
LimJiaJing Oct 27, 2021
5c4bb29
Finish view history feature.
LimJiaJing Oct 27, 2021
da76407
Remove IO redirection test from CLI
LimJiaJing Oct 27, 2021
3af64f7
Add a println at exit command to inform user the program is updating …
LimJiaJing Oct 27, 2021
1cb168f
Merge branch 'clear-history-records-v2.0' into view-past-records-v2.0
LimJiaJing Oct 27, 2021
500bbaf
Merge pull request #71 from LimJiaJing/view-past-records-v2.0
DuckWillow Oct 27, 2021
4e275da
Add ClearCommand class
LimJiaJing Oct 27, 2021
5460c83
Merge branch 'master' into clear-history-records-v2.0
LimJiaJing Oct 27, 2021
3f83e2e
Complete clear records feature
LimJiaJing Oct 27, 2021
efcc35a
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Oct 27, 2021
0324569
Merge pull request #72 from LimJiaJing/clear-history-records-v2.0
Isabella-L Oct 27, 2021
49ef03a
Merge branch 'master' into update-DG
LimJiaJing Oct 27, 2021
88038ef
Merge branch 'master' into update-DG
LimJiaJing Oct 27, 2021
b576641
TimerMode Enhance
Isabella-L Oct 27, 2021
1ac7d27
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Oct 27, 2021
b1c51e5
update to pass test
Isabella-L Oct 27, 2021
cbe8508
Edit description of View Statistics feature
LimJiaJing Oct 27, 2021
e77e0e9
View Statistics Object Diagram.drawio.png
LimJiaJing Oct 27, 2021
4ec260e
Change style of object diagram
LimJiaJing Oct 27, 2021
bfe56d1
Add 3 object diagrams
LimJiaJing Oct 27, 2021
edaf6c7
Add three object diagrams. Change to using svg file.
LimJiaJing Oct 27, 2021
c2d4567
Add 3 object diagrams into DG
LimJiaJing Oct 27, 2021
4df2d84
Complete object diagram part of View Statistics feature explanation.
LimJiaJing Oct 27, 2021
c59e1d8
Update parser for timemodegame
Isabella-L Oct 27, 2021
a8fe453
update to pass test
Isabella-L Oct 27, 2021
fee453a
add start now feature
Isabella-L Oct 27, 2021
eb7a129
checkstyle update
Isabella-L Oct 27, 2021
79fb64c
Update TimeGameCommand.java
Isabella-L Oct 27, 2021
af32007
Merge pull request #73 from Isabella-L/v2.0-timermode
LimJiaJing Oct 27, 2021
3d46031
Complete developer guide for View Statistics feature.
LimJiaJing Oct 27, 2021
56535cf
fix content supply bug for timemodegame
Isabella-L Oct 27, 2021
48c09e2
Merge pull request #76 from Isabella-L/start-now-feature
LimJiaJing Oct 27, 2021
cfc6d1d
minor
Isabella-L Oct 27, 2021
2d304df
minor
Isabella-L Oct 27, 2021
5d6435d
set content with game feature
Isabella-L Oct 27, 2021
ac9a903
Merge branch 'start-now-feature' into content-supply-bug
Isabella-L Oct 27, 2021
d13dafe
update test result
Isabella-L Oct 27, 2021
4cca1ee
Update UG
LimJiaJing Oct 27, 2021
8712556
Change format of warning
LimJiaJing Oct 27, 2021
862002f
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Oct 27, 2021
5ebafd8
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Oct 27, 2021
b766e72
Merge pull request #80 from LimJiaJing/update-UG-v2.0
Isabella-L Oct 27, 2021
cd3326f
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Oct 27, 2021
ba05501
Merge pull request #79 from Isabella-L/content-supply-bug
Isabella-L Oct 27, 2021
a73c3b1
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Oct 27, 2021
631013b
update game parser
Isabella-L Oct 27, 2021
681fcb9
update UG
Isabella-L Oct 27, 2021
c4fc1fc
Update DeveloperGuide.md
Isabella-L Oct 28, 2021
9ec35e7
Merge pull request #81 from Isabella-L/DG-update
Isabella-L Oct 28, 2021
463a265
Merge pull request #77 from LimJiaJing/update-DG
Isabella-L Oct 28, 2021
aebc03e
add sequence diagram (temporary)
Isabella-L Oct 28, 2021
15038e0
Merge summary into word limit game
DuckWillow Oct 28, 2021
520f310
Merge branch 'master' into branch76
DuckWillow Oct 28, 2021
a1fd749
Merge from master to branch 76
DuckWillow Oct 28, 2021
caaf670
Debug
DuckWillow Oct 28, 2021
63eb6d8
Update Utils.java
DuckWillow Oct 28, 2021
7ba7d8c
add time game sequence diagram
Isabella-L Oct 29, 2021
6f2ab04
udpate DG
Isabella-L Oct 29, 2021
5c2f9de
Merge pull request #86 from DuckWillow/branch76
Isabella-L Oct 29, 2021
7d40d1f
fix display line problem for time game
Isabella-L Oct 29, 2021
4993646
change error msg for timemode command
Isabella-L Oct 29, 2021
be720db
add gitignore
Isabella-L Oct 29, 2021
7f7ea0e
update checkstyle
Isabella-L Oct 29, 2021
be5eb01
Merge pull request #87 from Isabella-L/v2.0-timermode
DuckWillow Oct 29, 2021
26cda9e
update sample txt
Isabella-L Oct 29, 2021
9b17955
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Oct 29, 2021
8038571
Improve on word limit game
DuckWillow Oct 29, 2021
04e4fee
Merge pull request #88 from DuckWillow/branch76
Isabella-L Oct 29, 2021
30214d8
update
Isabella-L Oct 29, 2021
e902feb
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Oct 29, 2021
8670555
Address code review comment
LimJiaJing Nov 1, 2021
51d07ef
Add exception handling for non-positive integers user input in histor…
LimJiaJing Nov 1, 2021
19e7c36
Add help display for history and clear command
LimJiaJing Nov 1, 2021
548c821
Remove log of INFO level from terminal
LimJiaJing Nov 1, 2021
f02b898
Edit start screen to make usage of clear and history commands clearer.
LimJiaJing Nov 1, 2021
e3fc454
Edit format of user error messages for clear and history command.
LimJiaJing Nov 1, 2021
64db187
Update CommandFactory.java
snuckerzlol Nov 2, 2021
89dd878
Update TextUi.java
snuckerzlol Nov 2, 2021
2d14673
Update TextUi.java
snuckerzlol Nov 2, 2021
672bc56
advad
snuckerzlol Nov 2, 2021
f859c7e
Merge remote-tracking branch 'origin/master'
snuckerzlol Nov 2, 2021
84dbb45
Merge branch 'master' into master
snuckerzlol Nov 2, 2021
701c046
Merge pull request #70 from maxwireddevs/master
snuckerzlol Nov 2, 2021
d7a84e8
delete error
snuckerzlol Nov 2, 2021
9015df9
Merge pull request #140 from maxwireddevs/master
snuckerzlol Nov 2, 2021
444e890
Merge pull request #139 from LimJiaJing/address-bugs-ped
snuckerzlol Nov 2, 2021
7a2e6f8
Change application to not crash when record file is editted to an inv…
LimJiaJing Nov 3, 2021
d6fe9f8
Merge pull request #141 from LimJiaJing/address-bugs-ped
snuckerzlol Nov 3, 2021
259c3ec
Fix bug
LimJiaJing Nov 3, 2021
0db3108
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Nov 3, 2021
d460dda
move getReady method to superclass game
Isabella-L Nov 3, 2021
9eb4ab9
more OOP
Isabella-L Nov 3, 2021
aa37f97
Improve 'clear' command logic
LimJiaJing Nov 4, 2021
e59ec3f
Improve format of error message to user in history command
LimJiaJing Nov 4, 2021
90b3f13
Improve user guide
LimJiaJing Nov 4, 2021
58edbf1
improve command parsing
Isabella-L Nov 4, 2021
7e87407
Format help message for history and clear command
LimJiaJing Nov 4, 2021
09ca4e3
pass test
Isabella-L Nov 4, 2021
bbafe12
Correct developer guide uml images for view statistics feature
LimJiaJing Nov 4, 2021
9cd6ae0
Merge pull request #142 from LimJiaJing/address-bugs-ped
DuckWillow Nov 4, 2021
4a76078
Merge pull request #143 from LimJiaJing/user-guide-v2.1
DuckWillow Nov 4, 2021
0a94bb6
Merge pull request #144 from Isabella-L/v2.0-timermode
DuckWillow Nov 4, 2021
4df460e
Merge pull request #145 from LimJiaJing/developer-guide-v2.1
DuckWillow Nov 4, 2021
435ff62
Fix word mode negative number
DuckWillow Nov 4, 2021
7effb92
Update -w to -word
DuckWillow Nov 4, 2021
77975e4
Add content in PPP.
LimJiaJing Nov 4, 2021
6b743cb
Merge pull request #147 from LimJiaJing/ppp
DuckWillow Nov 4, 2021
8f74fe7
Merge pull request #146 from DuckWillow/branch76
Isabella-L Nov 4, 2021
69e3ab9
Fix github pages rendering issues trial 1
LimJiaJing Nov 4, 2021
d55313f
Fix github pages rendering issue trial 1
LimJiaJing Nov 4, 2021
8d9a9aa
Fix github pages rendering issue trial 2
LimJiaJing Nov 4, 2021
a71a944
fix github pages rendering issue trial 2
LimJiaJing Nov 4, 2021
4fef811
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Nov 4, 2021
28b46c3
update typist
Isabella-L Nov 4, 2021
fb64a69
Add user stories
LimJiaJing Nov 4, 2021
e88da31
Edit ppp format for pdf conversion
LimJiaJing Nov 4, 2021
38400d2
Edit ppp to fix github rendering trial 1
LimJiaJing Nov 4, 2021
97c8e57
edit ppp format to fix github pages rendering issue
LimJiaJing Nov 4, 2021
1e6e4d7
Merge pull request #148 from LimJiaJing/ppp
snuckerzlol Nov 4, 2021
3de951d
Merge pull request #150 from LimJiaJing/developer-guide-v2.1
snuckerzlol Nov 4, 2021
7b9bc7b
Edit format to fix github pages rendering issue
LimJiaJing Nov 4, 2021
f09e96b
Change RepoSense link to automatically how lim jia jing contributions
LimJiaJing Nov 4, 2021
04d4b4d
update UG and fix -c bug
Isabella-L Nov 4, 2021
c8f677d
Update UserGuide.md
Isabella-L Nov 4, 2021
a8101d8
Update TextUi.java
Isabella-L Nov 4, 2021
110584e
Merge pull request #151 from LimJiaJing/ppp
Isabella-L Nov 4, 2021
6aa98fa
Merge branch 'master' into user-guide-v2.1
Isabella-L Nov 4, 2021
dfaf463
Merge pull request #149 from LimJiaJing/user-guide-v2.1
Isabella-L Nov 4, 2021
642e4d2
Merge branch 'master' into DG-update
Isabella-L Nov 4, 2021
7425022
Merge pull request #152 from Isabella-L/DG-update
LimJiaJing Nov 5, 2021
b5287af
Update UserGuide.md
Isabella-L Nov 5, 2021
c477e24
Merge branch 'DG-update' of https://github.com/Isabella-L/tp into DG-…
Isabella-L Nov 5, 2021
33f4ac8
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Nov 5, 2021
3926526
update UG
Isabella-L Nov 5, 2021
64a78b3
rename uml folder into diagram
Isabella-L Nov 5, 2021
75846ba
delete MANIFEST, update DG
Isabella-L Nov 5, 2021
2bdf0cc
delete data folder and gamerInfo
Isabella-L Nov 5, 2021
5b68443
move exception folder into common foler
Isabella-L Nov 5, 2021
f3dd0ba
refactor packages
Isabella-L Nov 5, 2021
1357e11
Updates
snuckerzlol Nov 6, 2021
7c896ca
rename TimeLimitGmae
Isabella-L Nov 6, 2021
51df91c
Merge pull request #154 from maxwireddevs/master
Isabella-L Nov 6, 2021
c5091c8
Merge branch 'master' into DG-update
Isabella-L Nov 6, 2021
a491ec4
Merge pull request #155 from Isabella-L/DG-update
snuckerzlol Nov 6, 2021
c1ea7ed
refactoring
Isabella-L Nov 6, 2021
744c05d
checkstyle update
Isabella-L Nov 6, 2021
b5c34aa
update command class diagram
Isabella-L Nov 6, 2021
59c0cf7
Correct format of UserGuide and DeveloperGuide. Correct bug in object…
LimJiaJing Nov 7, 2021
bb65cc0
Merge pull request #157 from LimJiaJing/final-revision
DuckWillow Nov 7, 2021
069a65d
Updates
snuckerzlol Nov 7, 2021
c98ce89
Merge remote-tracking branch 'origin/master'
snuckerzlol Nov 7, 2021
02043d1
Merge pull request #156 from Isabella-L/DG-update
snuckerzlol Nov 7, 2021
b6c96d6
Merge branch 'AY2122S1-CS2113-T13-4:master' into master
snuckerzlol Nov 7, 2021
b93c1ff
Architecture
snuckerzlol Nov 7, 2021
999cbad
Architecture
snuckerzlol Nov 7, 2021
f944e00
Architecture
snuckerzlol Nov 7, 2021
54e337b
Architecture
snuckerzlol Nov 7, 2021
7af5c21
Architecture
snuckerzlol Nov 7, 2021
69f51fe
Architecture
snuckerzlol Nov 7, 2021
5dde00f
Architecture
snuckerzlol Nov 7, 2021
7dbba21
Delete architecture.png
snuckerzlol Nov 7, 2021
de99568
Architecture
snuckerzlol Nov 7, 2021
b0b924a
Delete architecture.png
snuckerzlol Nov 7, 2021
972d7c4
Add files via upload
snuckerzlol Nov 7, 2021
17ffbe1
Delete architecture.png
snuckerzlol Nov 7, 2021
6f7b93d
Add files via upload
snuckerzlol Nov 7, 2021
b27fff7
Update DeveloperGuide.md
snuckerzlol Nov 7, 2021
fa9943e
Merge pull request #158 from maxwireddevs/master
DuckWillow Nov 8, 2021
0ef4a38
Update DG and UML diagram
DuckWillow Nov 8, 2021
b5a8d5d
Update WordLimitGame.java
DuckWillow Nov 8, 2021
54db392
Merge pull request #159 from DuckWillow/branch76
Isabella-L Nov 8, 2021
0be591a
update command DG
Isabella-L Nov 8, 2021
3e5b89c
udpate
Isabella-L Nov 8, 2021
e043b1c
Merge branch 'master' of https://github.com/AY2122S1-CS2113-T13-4/tp …
Isabella-L Nov 8, 2021
24d265f
update timelimit sequence diagram
Isabella-L Nov 8, 2021
f034dbd
Update UserGuide.md
Isabella-L Nov 8, 2021
8fce7b9
update PPP
Isabella-L Nov 8, 2021
2abb6a7
update testing
Isabella-L Nov 8, 2021
bc97c18
update testing
Isabella-L Nov 8, 2021
efdc4e3
Merge pull request #162 from Isabella-L/PPP
snuckerzlol Nov 8, 2021
00cc43c
update UG DG
Isabella-L Nov 8, 2021
7392aa4
Merge branch 'master' into DG-update
Isabella-L Nov 8, 2021
d3b47e6
Update UserGuide.md
Isabella-L Nov 8, 2021
d98b28f
Delete arch.png
snuckerzlol Nov 8, 2021
bb5058d
Add files via upload
snuckerzlol Nov 8, 2021
51527ef
Delete arch.png
snuckerzlol Nov 8, 2021
b25f239
Add files via upload
snuckerzlol Nov 8, 2021
b204b0a
Update DeveloperGuide.md
snuckerzlol Nov 8, 2021
762ad46
Merge pull request #161 from Isabella-L/DG-update
snuckerzlol Nov 8, 2021
6351285
Update AboutUs.md
snuckerzlol Nov 8, 2021
8a61e40
Update DeveloperGuide.md
Isabella-L Nov 8, 2021
973a9cc
Merge branch 'DG-update' of https://github.com/Isabella-L/tp into DG-…
Isabella-L Nov 8, 2021
0857f1e
add man feature
Isabella-L Nov 8, 2021
d81d08b
Update UserGuide.md
Isabella-L Nov 8, 2021
99f0354
update DG
Isabella-L Nov 8, 2021
dfefb74
Update lusicheng.md
Isabella-L Nov 8, 2021
22105e1
checkstyle update
Isabella-L Nov 8, 2021
4f30a07
Update DeveloperGuide.md
Isabella-L Nov 8, 2021
8d1ccf5
udpate readme
Isabella-L Nov 8, 2021
96a95c7
Merge pull request #163 from Isabella-L/DG-update
LimJiaJing Nov 8, 2021
5efb119
Update UserGuide.md
Isabella-L Nov 8, 2021
a13b6a2
Update UserGuide.md
Isabella-L Nov 8, 2021
8805b42
PPP update
DuckWillow Nov 8, 2021
59d829e
Set theme jekyll-theme-cayman
Isabella-L Nov 8, 2021
80a7826
Merge pull request #164 from DuckWillow/branch76
DuckWillow Nov 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ jobs:
- name: Build and check with Gradle
run: ./gradlew check

- name: Perform IO redirection test (*NIX)
if: runner.os == 'Linux'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (MacOS)
if: always() && runner.os == 'macOS'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (Windows)
if: always() && runner.os == 'Windows'
working-directory: ${{ github.workspace }}/text-ui-test
shell: cmd
run: runtest.bat
#- name: Perform IO redirection test (*NIX)
# if: runner.os == 'Linux'
# working-directory: ${{ github.workspace }}/text-ui-test
# run: ./runtest.sh

#- name: Perform IO redirection test (MacOS)
# if: always() && runner.os == 'macOS'
# working-directory: ${{ github.workspace }}/text-ui-test
# run: ./runtest.sh

#- name: Perform IO redirection test (Windows)
# if: always() && runner.os == 'Windows'
# working-directory: ${{ github.workspace }}/text-ui-test
# shell: cmd
# run: runtest.bat
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ bin/

/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT
time-limited_records.txt
seedu.typists.ui.TextUi.log
seedu.typists.ui.TextUi.log.1
seedu.typists.ui.TextUi.log.lck
Empty file added TypingGame.txt
Empty file.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ repositories {
}

dependencies {
implementation 'org.fastily:jwiki:1.8.0'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0'
}
Expand All @@ -29,11 +30,11 @@ test {
}

application {
mainClassName = "seedu.duke.Duke"
mainClassName = "seedu.typists.Main"
}

shadowJar {
archiveBaseName = "duke"
archiveBaseName = "typists"
archiveClassifier = null
}

Expand All @@ -43,4 +44,5 @@ checkstyle {

run{
standardInput = System.in
enableAssertions = true
}
9 changes: 4 additions & 5 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

Display | Name | Github Profile | Portfolio
--------|:----:|:--------------:|:---------:
![](https://via.placeholder.com/100.png?text=Photo) | John Doe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Don Joe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Ron John | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | John Roe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Don Roe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
<img src="https://www.designyourway.net/blog/wp-content/uploads/2017/03/Anime-Wallpaper-Desktop-Background-29-1250x834.jpg" width="100" height="100"> | Lim Jia Jing | [Github](https://github.com/LimJiaJing) | [Portfolio](docs/team/limjiajing.md)
<img src="https://user-images.githubusercontent.com/69776265/136035789-60431999-0190-4967-948f-e936065e8275.png" width="100" height="100"> | Lu Sicheng | [Github](https://github.com/Isabella-L) | [Portfolio](docs/team/lusicheng.md)
<img src="https://user-images.githubusercontent.com/71874189/136139996-ba992a28-d026-49ca-b134-ee8213411d93.jpg" width="100" height="100">| Shi Zhansen | [Github](https://github.com/DuckWillow) | [Portfolio](docs/team/shizhansen.md)
<img src="https://avatars.githubusercontent.com/u/58932649?v=4" width="100" height="100">| William Wahyudi | [Github](https://github.com/maxwireddevs) | [Portfolio](docs/team/williamwahyudi.md)
84 changes: 84 additions & 0 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,96 @@

# Developer Guide

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sections should be numbered and the table of content should be included.

* [Acknowledgements](#acknowledgements)
* [Design & Implementation](#design-&-implementation)

* [Acknoledgements](#acknowledgements)

## Acknowledgements

{list here sources of all reused/adapted ideas, code, documentation, and third-party libraries -- include links to the original source as well}
* https://www.baeldung.com/java-testing-system-out-println

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link is now plain text. It should be wrapped with [name](link) so that it can be clicked.


##Architecture

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing whitespace after ##, as per Markdown specifications.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing whitespace after ##, which makes the line not be rendered correctly on the Github page

Screen Shot 2021-10-28 at 09 07 28


(Some architecture diagram)

## Design & implementation

{Describe the design and implementation of the product. Use UML diagrams and short code snippets where applicable.}

### Choose game mode

### Choose the game content

### Word Limit Game

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the "Alt" be changed to "Opt" instead since you do not have the "else" block?

Untitled


Once the CommandFactory reads a 'word' command, a word limit game will begin.

Gonna to change this .puml diagram later - zhansen

![](uml/WordLimitMode.png)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to use vector graphics such as SVG, which displays nicely even on the dark background you choose?

It would be better to just link to an online one that renders the diagram. This has the following benefits of reducing binary blobs in the repo.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be : before the class name in the notations of entities. If method calls to static methods are received by the class itself, there should be <<class>> in the notation.

Screen Shot 2021-10-28 at 09 11 10


### Time Limit Game
Sequence Diagram for Time Mode Game:
![image](https://user-images.githubusercontent.com/69776265/139190231-eb648329-517b-42dc-a088-fbce5c93c616.png)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is possible to position the elements such that the text is not blocked by others so it is easier to read?
image

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, are the return arrows supposed to show return values or method calls? If it is return values, the arrow should be dotted here

### \[Proposed\] View Statistics feature

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The self-invocation of the Sequence diagram is missing the method it is calling.

Untitled

#### \[Proposed Implementation\]
Copy link

@YEOWEIHNGWHYELAB YEOWEIHNGWHYELAB Oct 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be missing dotted arrow heads back to the calling class as I circle in red in the picture attached below. Moreover, your loop and alt format is not drawn correctly, please refer to the module webpage for the details.

Untitled

The top-level logic of view statistics feature resides in ViewCommand. It implements the Command
interface. The key method of the class is `executeCommand()`.
`executeCommand()` logic:
1. Calls the retrieveStatistics() method of StatisticsManager to get the statistics.
2. Calls the displayStatistics() method of ViewCommandUi to display the statistics retrieved.
<!-- -->
StatisticsManager performs the logic for processing the game records to obtain the statistics.
Its key methods are:
* `retrieveStatistics()` - Decides which of the three methods below to run
* `calculateBestStatistics()` - Returns the best statistics over the past n games
* `calculateWorstStatistics()` - Returns the worst statistics over the past n games
* `calculateAverageStatistics()` - Returns the average statistics over the past n games
<!-- -->
Given below is an example usage scenario and how the program implements the feature.

Step 1: The user launches the application (scenario assumes that there are several game records already stored in multiple files).

Step 2: The user executes `view -m best -g time -n 9` to view his/her best statistics for the error game mode over the past 9 games.

Step 3: A ViewCommand object is then instantiated.

![Alt text](uml/ViewStatistics-1.drawio.svg)

Step 4. ViewCommand calls the retrieveStatistics() method of StatisticsManager.
![Alt text](uml/ViewStatistics-2.drawio.svg)

Step 5: StatisticsManager creates a GameRecordsManager object.
* The constructor of GameRecordsManager calls the readGameRecords() method of the Storage class to retrieve the gamer's past game records from the text files.
<!-- -->
![Alt text](uml/ViewStatistics-3.drawio.svg)
Step 6. StatisticsManager then calls getGamesRecords() method of GameRecordsManager() and self-invokes calculateBestStatistics().
* Calculated statistics is returned.

Step 7. ViewCommand calls the displayStatistics() method of the ViewCommandUi class to display the statistics.
![Alt test](uml/ViewStatistics-4.drawio.svg)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
Are the multiple stacked boxes meant to represent multiple objects? If so, can perhaps considering removing them and rely on the multiplicity values instead as it may be quite confusing and redundant.


The following sequence diagram shows how the above scenario is executed.
![Alt test](uml/ViewStatistics-5.drawio.svg)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
Should there be dotted arrows back to the calling class after each readGameRecords() call? Since the activation bar implies that control is handed back to the GameRecordsManager() momentarily.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When calling a constructor, there is no need to put the "new". Moreover you should use the same sequence diagram drawing tool as stated in the module page (attached below).

Untitled
Untitled




#### Alternative Implementation
* One implementation considered is to do away with the retrieveStatistics() method and immediately call one of calculateBestStatistics,
calculateWorstStatistics() or calculateAverageStatistics() based on the gamer's imput using a switch statement. This implementation choice
was not used because it violates the Single Responsibility Principle and does not do SLAP well.
* Another implementation considered was for GameRecordsManager to do the main logic. This implementation was not done as it violates the
Single Responsibility Principle.
<!-- -->

## Product scope

Our product is a typing game, intent to provide enjoyment for people who are familiar with the CML.


### Target user profile

{Describe the target user profile}
Expand All @@ -28,6 +109,8 @@
## Non-Functional Requirements

{Give non-functional requirements}
### Animation


## Glossary

Expand All @@ -36,3 +119,4 @@
## Instructions for manual testing

{Give instructions on how to do a manual product testing e.g., how to load sample data to be used for testing}

163 changes: 137 additions & 26 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,143 @@
# User Guide
* [Introduction](#introduction)
* [Quick Start](#quick-start)
* [Features](#features)
* [FAQ](#faq)
* [Command Summary](#command-summary)

## Introduction
## Introduction

{Give a product intro}
Typist is a CLI typing game.

## Quick Start

{Give steps to get started quickly}

1. Ensure that you have Java 11 or above installed.
1. Down the latest version of `Duke` from [here](http://link.to/duke).

## Features

{Give detailed description of each feature}

### Adding a todo: `todo`
Adds a new item to the list of todo items.

Format: `todo n/TODO_NAME d/DEADLINE`

* The `DEADLINE` can be in a natural language format.
* The `TODO_NAME` cannot contain punctuation.

Example of usage:

`todo n/Write the rest of the User Guide d/next week`

`todo n/Refactor the User Guide to remove passive voice d/13/04/2020`

1. Ensure that you have Java 11 or above installed.
2. Down the latest version of `Typist` from [here](http://link.to/duke).
3. Navigate to the folder containing the jar file and run `java -jar tp.jar`

## Features

### Notes about the command format:

* Words in UPPER_CASE are parameters to be supplied by the user.
e.g. in `history -g GAME_MODE`, `GAME_MODE` is a parameter which can be used as `history -g time`.
* Items in square brackets are optional.
e.g. `-g GAME_MODE [-n NUMBER_OF_RECORDS]` can be used as `-g time -n 9` or as `-g time`
* Parameters can be in any order.
e.g. if command specifies `history -g GAME_MODE [-n NUMBER_OF_RECORDS]`, `history [-n NUMBER_OF_RECORDS] -g GAME_MODE`
is also acceptable.
* If a parameter is expected only once in the command but you specified it multiple times,
only the first occurrence of the parameter will be taken
e.g. if you specify `history -g time -g time -n 10`, only `history -g time -n 10` will be taken.
* For commands which have a help parameter, if `-h` is among the parameters provided,
all other parameters will be ignored and the guide for that command will be displayed.
e.g. `history -g time -h -n 10` will be interpreted as `history -h`.

### Usage
### Open Game

### {Feature name}: {`Keyword`}
Description of feature
Format: {format of command}
* Explanation 1 of format
* Explanation 2 of format
<!-- -->
Examples
* command example 1
* command example 2
<!-- -->

### Open Game: `game`
Start a typing game.
Format: `game GAME_MODE [-c]`
* SET_CONTENT `-c` is optional, it allows user to set input content before game starts.
* GAME_MODE
* `-w` for game in Word Limit Mode
* `-t` for game in Time Limit Mode
* For Time Limit Game:
* Format: `game -t TIME_LIMIT [-sn] [-c]`
* START_NOW `-sn` allows user to start the game immediately without the "ready to start?" prompt.
<!-- -->
Examples
* `game -t 30 -sn`
* `game -w -c`
<!-- -->


### View past records: `history`
View past game records.
Format: `history -g GAME_MODE [-n NUMBER_OF_RECORDS] [-h]`
* NUMBER_OF_RECORDS defaults to all records if not provided
* Possible arguments for GAME_MODE are - `word` or `time`
<!-- -->
Examples
* `history -g time -n 10`
* `history -g word`
<!-- -->

### Clear past records: `clear`
Clear all past game records
Format: `clear [-g GAME_MODE] [-h]`
* GAME_MODE defaults to `all` if not provided
* Possible arguments for GAME_MODE are - `word`, `time` or `all`
<!-- -->
Examples
* `clear -g time`
* `clear`
<!-- -->

### Saving the data
Typists automatically stores the updated game records into text files when gamer enters the
`bye` command to exit Typists.


### !Warning: Editing the data file
Typists is a game application and only game records will be stored.
Gamers should not edit the data it will manipulate the integrity of the records.
In the event where the data is editted and the wrong format is inputted, the game will crash when it tries to read the file.
The only way to make it run smoothly again is to delete the text files, hence losing all the game data.



### `Keyword` - Describe action

List of the keywords are shown below:

`content`-Set the content

`new`-Enter a word-limited game mode

>Exit word-limited game mode command: `Exit`

`time`-Enter a time-limited game mode

`error`-Enter a error detecting game mode

`bye`-Exit the program.

### Showing summary of a game
Statistics of game is shown automatically after a game is finished.

## Example of usage:

```
game -w
| Enter how many words you want the game to run:
5
| lorem ipsum is simply dummy
lorem ipsum is simply dummy
| Your progress:5/5
```
```
game -t 30 -sn
| lorem ipsum is simply dummy text of the printing and
lorem ipsum is simply dummy text of the printing and
| typesetting imply dummy text of the printing and typesetting industry
typesetting imply dummy text of the printing and typesetting industry
| Timer's UP!
```
## FAQ

**Q**: How do I transfer my data to another computer?
Expand All @@ -37,6 +146,8 @@ Example of usage:

## Command Summary

{Give a 'cheat sheet' of commands here}

* Add todo `todo n/TODO_NAME d/DEADLINE`
| Feature | Command |
| ------------- | ------------- |
| Start Word Limit Game| `game -w [-c]` |
| Start Time Limit Game | `game -t TIME_LIMIT [-sn] [-c]`
| Get History | `history -h`|
1 change: 1 addition & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-hacker
6 changes: 6 additions & 0 deletions docs/team/limjiajing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Lim Jia Jing - Project Portfolio Page

## Overview


### Summary of Contributions
6 changes: 6 additions & 0 deletions docs/team/lusicheng.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Lu Sicheng - Project Portfolio Page

## Overview


### Summary of Contributions
Loading