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-T14-2] eCardnomics #39

Open
wants to merge 541 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
541 commits
Select commit Hold shift + click to select a range
552d8b3
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
alwaysnacy Oct 28, 2020
f864b45
add Tag-DG
alwaysnacy Oct 28, 2020
ca17f2b
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
alwaysnacy Oct 28, 2020
e7995f0
Remove unused method and refactor delete branch for SLAP
LiewWS Oct 28, 2020
b1589d5
Update .gitignore to not track data/deckList.txt
LiewWS Oct 28, 2020
7cb8027
add TagFlow
alwaysnacy Oct 28, 2020
632852d
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
alwaysnacy Oct 28, 2020
217e7a7
Add one-shot delete deck command
LiewWS Oct 28, 2020
8be6150
update UG and DG
alwaysnacy Oct 28, 2020
4293095
Merge pull request #115 from alwaysnacy/master
alwaysnacy Oct 28, 2020
38221c9
Add one-shot add flashcard command
LiewWS Oct 28, 2020
39c2e00
Move confirmation methods to Ui
LiewWS Oct 28, 2020
050cc1e
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
LiewWS Oct 28, 2020
433adef
add one-shot delete delete command
LiewWS Oct 28, 2020
d79f978
refactor update for SLAP
LiewWS Oct 28, 2020
db8a093
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp
exuberant-duck Oct 28, 2020
4d24af2
Merge pull request #116 from LiewWS/master
zhixiangteoh Oct 28, 2020
e5e4078
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp
exuberant-duck Oct 28, 2020
105585d
update UG to include one-line commands
LiewWS Oct 28, 2020
3481c10
Merge pull request #117 from LiewWS/branch-UserGuide
LiewWS Oct 28, 2020
15b5125
update help command list for all modes
exuberant-duck Oct 28, 2020
53d1b84
fix checkstyle
exuberant-duck Oct 28, 2020
433a10b
Add DG for Storage class
wangwaynesg Oct 28, 2020
155e07f
Merge pull request #121 from wangwaynesg/branch-StorageDG
wangwaynesg Oct 28, 2020
219aa46
Merge pull request #119 from zhixiangteoh/master
zhixiangteoh Oct 28, 2020
2e190b3
update ug with proposed feature
exuberant-duck Oct 30, 2020
16f66d9
Merge branch 'master' into master
zhixiangteoh Oct 30, 2020
dfd8296
Merge pull request #124 from zhixiangteoh/master
zhixiangteoh Oct 30, 2020
2fa37f9
add examples
alwaysnacy Oct 30, 2020
317717d
Add Class and Method conventions in DG
wangwaynesg Oct 31, 2020
ac9e75b
Merge pull request #153 from wangwaynesg/master
wangwaynesg Oct 31, 2020
b596fe3
Add checking for corrupted Storage file
wangwaynesg Oct 31, 2020
1c93440
Merge pull request #155 from wangwaynesg/master
wangwaynesg Oct 31, 2020
792c444
update .gitignore
LiewWS Oct 31, 2020
98d1f16
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
LiewWS Oct 31, 2020
4129639
update ug help commands, and command summary
exuberant-duck Oct 31, 2020
5b8d369
add update command to command summary
exuberant-duck Oct 31, 2020
ee27946
update toc
exuberant-duck Oct 31, 2020
6008254
Merge pull request #156 from zhixiangteoh/master
zhixiangteoh Oct 31, 2020
6326f37
fix wild 0 in deck's start command
exuberant-duck Oct 31, 2020
41c7413
Fix Storage check corruption bugs
wangwaynesg Oct 31, 2020
7572c9d
Merge pull request #157 from zhixiangteoh/master
LiewWS Oct 31, 2020
3e72fab
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
LiewWS Oct 31, 2020
6db2668
Merge pull request #159 from wangwaynesg/master
wangwaynesg Oct 31, 2020
b49eaa3
Fix bugs discovered in PED
LiewWS Oct 31, 2020
d734b64
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
LiewWS Oct 31, 2020
312a2c8
Refactor method for pretty printing to Ui
LiewWS Oct 31, 2020
3b39fe9
Merge pull request #160 from LiewWS/master
zhixiangteoh Nov 1, 2020
08faecb
add zhixiangteoh tentative PPP
exuberant-duck Nov 1, 2020
20db763
Merge pull request #161 from zhixiangteoh/master
zhixiangteoh Nov 1, 2020
971ec52
update AboutUs links
exuberant-duck Nov 1, 2020
46ec96d
update AboutUs PPP links
exuberant-duck Nov 1, 2020
b3f3641
Merge pull request #162 from zhixiangteoh/master
zhixiangteoh Nov 1, 2020
d98022d
add GameEngine, GameParser, GameStorage tests
exuberant-duck Nov 1, 2020
fb83d79
Merge pull request #163 from zhixiangteoh/master
zhixiangteoh Nov 1, 2020
ed7c9b5
Fixed some PE-D and Peer Review DG bugs
Nov 3, 2020
0f689ef
Fixed index error messages
Nov 3, 2020
97903ae
Update Text-Ui-Test
Nov 3, 2020
74a3a04
Merge pull request #164 from kaijiel24/master
kaijiel24 Nov 3, 2020
f53e78b
update add flashcard command description
LiewWS Nov 4, 2020
df9b64a
update DG for pretty print
LiewWS Nov 4, 2020
725dd71
update DG for Ui
LiewWS Nov 4, 2020
d3fefa9
update Commands, Game Mode sections, add Exceptions section to DG
exuberant-duck Nov 4, 2020
64aceb2
Merge pull request #166 from zhixiangteoh/master
zhixiangteoh Nov 4, 2020
7377c15
Merge branch 'master' into master
zhixiangteoh Nov 4, 2020
87c05fc
update PPP
exuberant-duck Nov 4, 2020
c051896
Merge pull request #167 from zhixiangteoh/master
zhixiangteoh Nov 4, 2020
6ff570a
Update PPP
LiewWS Nov 5, 2020
ced462e
Merge pull request #165 from LiewWS/master
LiewWS Nov 5, 2020
f2b71b7
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
LiewWS Nov 5, 2020
93a6d94
Update PPP
LiewWS Nov 5, 2020
923c321
Merge branch 'master' of https://github.com/LiewWS/tp into master
LiewWS Nov 5, 2020
2c93fc4
Merge pull request #168 from LiewWS/master
LiewWS Nov 5, 2020
9e4b5aa
update DG with class and method font styles, update PPP
exuberant-duck Nov 5, 2020
bd26926
Merge pull request #169 from zhixiangteoh/master
zhixiangteoh Nov 5, 2020
d26d793
shorten PPP UG and DG extracts
exuberant-duck Nov 5, 2020
8ef1042
Merge pull request #170 from zhixiangteoh/master
zhixiangteoh Nov 5, 2020
cd9f57a
fix bug where entering just punctuation as answer can lead to 100.0 s…
exuberant-duck Nov 5, 2020
c024d68
add unit tests for getMatchPercentage
exuberant-duck Nov 5, 2020
45b5716
add functional and test code for extra restrictions on question and a…
exuberant-duck Nov 6, 2020
5115b3a
Merge pull request #171 from zhixiangteoh/master
LiewWS Nov 6, 2020
f477e18
implement pretty print for game mode output
LiewWS Nov 6, 2020
d0e4726
Implement log to file
LiewWS Nov 6, 2020
ebc1d6e
update .gitignore
LiewWS Nov 6, 2020
cad1c77
Merge pull request #172 from LiewWS/master
kaijiel24 Nov 6, 2020
593b3cc
cut PPP UG and DG extracts images
exuberant-duck Nov 6, 2020
3e334bf
Merge pull request #173 from zhixiangteoh/master
zhixiangteoh Nov 6, 2020
e8972e9
Add Original Color option for pptx
Nov 6, 2020
0dd6740
Merged with upstream
Nov 6, 2020
dff6791
Fixed logger merge issue in NormalParser and Ui
Nov 6, 2020
8ef1872
Add Default Color Scheme options to pptx
Nov 6, 2020
9d826f9
Update UG for pptx Color options
Nov 6, 2020
ed07128
Merged from master
Nov 6, 2020
a48f7da
Fixed length issue in help command
Nov 6, 2020
1bf1430
Merge pull request #175 from kaijiel24/master
LiewWS Nov 6, 2020
8953ed9
Fix index out of bounds error when -cs option is used
LiewWS Nov 6, 2020
35f6ee3
Merge pull request #176 from LiewWS/master
kaijiel24 Nov 6, 2020
b6496d7
Fixed help printing issue
Nov 6, 2020
369d50e
Fixed help printing issue
Nov 6, 2020
97ac72a
Add PPP for wangwaynesg
wangwaynesg Nov 6, 2020
323ec7f
Merge pull request #177 from kaijiel24/master
kaijiel24 Nov 6, 2020
ff535b6
fix broken links to commands in UG
LiewWS Nov 6, 2020
9043007
update FAQ section of UG
LiewWS Nov 6, 2020
18682ab
Merge pull request #180 from LiewWS/master
LiewWS Nov 6, 2020
f2a6430
Merge branch 'branch-wangwaynesgPPP' of https://github.com/wangwaynes…
wangwaynesg Nov 6, 2020
636b7bc
Add wangwaynesg PPP
wangwaynesg Nov 6, 2020
87c4b47
update PPP
LiewWS Nov 6, 2020
19d73cc
update documentation
LiewWS Nov 6, 2020
86485d1
Merge pull request #182 from LiewWS/master
LiewWS Nov 6, 2020
6e9c470
Merge pull request #181 from wangwaynesg/master
LiewWS Nov 6, 2020
f356d21
add DuplicateDeckException
alwaysnacy Nov 7, 2020
d49c93b
fix duplicate decks
alwaysnacy Nov 7, 2020
2d0707e
fix multiple /tags in CreateCommand
alwaysnacy Nov 7, 2020
d01ab9b
update Tag and Untag Command
alwaysnacy Nov 7, 2020
3fac370
fix checkstyles
alwaysnacy Nov 7, 2020
03525d5
Merge pull request #183 from alwaysnacy/Trang-fix-2.0
alwaysnacy Nov 7, 2020
b49f651
add tag to DecksCommnad output without pretty 1-liner
alwaysnacy Nov 7, 2020
2d04903
Merge pull request #184 from alwaysnacy/Trang-fix-2.0
alwaysnacy Nov 7, 2020
0126acb
clean codes
alwaysnacy Nov 7, 2020
56e6393
no message
alwaysnacy Nov 7, 2020
0426e84
Merge pull request #185 from alwaysnacy/Trang-fix-2.0
alwaysnacy Nov 7, 2020
e5976f7
Update kaijiel24 PPP
Nov 7, 2020
77f2ba3
Fix Storage bugs
wangwaynesg Nov 7, 2020
82ec912
Merge pull request #186 from wangwaynesg/master
wangwaynesg Nov 7, 2020
4dfe2d5
Fix Storage bugs where decks with no tags are not loaded
wangwaynesg Nov 7, 2020
35057d3
Fix Storage bugs where decks with no tags are not loaded and remove "…
wangwaynesg Nov 7, 2020
b2577d1
Fix List Command regarding incorrect "/ans" argument
wangwaynesg Nov 7, 2020
64f0f19
Fix minor Storage bug
wangwaynesg Nov 7, 2020
de874d5
Merge pull request #206 from wangwaynesg/master
wangwaynesg Nov 7, 2020
963257f
Update pptx Color Options
Nov 7, 2020
c67506e
Resolve merge conflict
Nov 7, 2020
870e394
Fix force y output and dash line to 80 char
Nov 7, 2020
dd6f819
Merge pull request #207 from kaijiel24/master
kaijiel24 Nov 7, 2020
c9bd172
fix FlashCard test case
LiewWS Nov 7, 2020
8234a7b
Merge pull request #209 from LiewWS/master
LiewWS Nov 7, 2020
0aa7fef
Update UG and DG
Nov 7, 2020
daf0e0b
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp
Nov 7, 2020
5a81bfc
Merge pull request #210 from kaijiel24/master
kaijiel24 Nov 7, 2020
5fa55de
update empty deck list message
LiewWS Nov 8, 2020
2241574
fix one-line add command
LiewWS Nov 8, 2020
5dba136
update help command
LiewWS Nov 8, 2020
75a439a
separate lines when updating flash card
LiewWS Nov 8, 2020
05e8402
update UG
LiewWS Nov 8, 2020
4acdb17
fixes #201
exuberant-duck Nov 8, 2020
07c02bf
update UG
LiewWS Nov 8, 2020
3fc304c
fixes #204
exuberant-duck Nov 8, 2020
894c0f8
fixes #212
exuberant-duck Nov 8, 2020
9360ad4
fixes #190
exuberant-duck Nov 8, 2020
c8c858a
fixes #203
exuberant-duck Nov 8, 2020
45c3c4f
fix checkstyle indentation
exuberant-duck Nov 8, 2020
393e921
Add Storage check for non-alphanumeric question and answer.
wangwaynesg Nov 8, 2020
3e22ed8
Fix minor checkstyle issue
wangwaynesg Nov 8, 2020
7551b7b
refine tag and untag
alwaysnacy Nov 8, 2020
aac644b
Merge pull request #213 from zhixiangteoh/master
zhixiangteoh Nov 8, 2020
4281b0e
Merge branch 'master' into master
zhixiangteoh Nov 8, 2020
ea83b98
Merge pull request #214 from wangwaynesg/master
LiewWS Nov 8, 2020
2c16f4b
Update UG and DG
LiewWS Nov 8, 2020
a396fe7
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
LiewWS Nov 8, 2020
57c745e
update help in deck mode inUG
LiewWS Nov 8, 2020
3854daa
furether refinement for tag and untag
alwaysnacy Nov 8, 2020
8c9db70
Merge pull request #215 from LiewWS/master
LiewWS Nov 8, 2020
0c95ae6
update UG
alwaysnacy Nov 8, 2020
a96741a
update from remote
alwaysnacy Nov 8, 2020
58375c2
Merge branch 'master' into Trang-v2.1
alwaysnacy Nov 8, 2020
be126c8
Merge branch 'master' into Trang-v2.1
alwaysnacy Nov 8, 2020
ea8b81c
fix checklists
alwaysnacy Nov 8, 2020
1974455
Merge branch 'Trang-v2.1' of https://github.com/alwaysnacy/tp into Tr…
alwaysnacy Nov 8, 2020
2609dda
no message
alwaysnacy Nov 8, 2020
b38b611
fix checkstyles
alwaysnacy Nov 8, 2020
c6cc79c
remove MulitpleLabelInputException
alwaysnacy Nov 8, 2020
86b578f
Merge pull request #216 from alwaysnacy/Trang-v2.1
alwaysnacy Nov 8, 2020
6ad8435
add deque to glossary
exuberant-duck Nov 8, 2020
6f6f764
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp
exuberant-duck Nov 8, 2020
bbcc5a5
Merge pull request #217 from zhixiangteoh/master
zhixiangteoh Nov 8, 2020
ef7dafc
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp
exuberant-duck Nov 8, 2020
5479c25
update DG manual testing instr. with game mode
exuberant-duck Nov 8, 2020
20a0905
fix double spaces
alwaysnacy Nov 8, 2020
50ba7d0
Merge pull request #221 from alwaysnacy/master
alwaysnacy Nov 8, 2020
c050ed4
Merge pull request #220 from zhixiangteoh/master
alwaysnacy Nov 8, 2020
58556c5
update UG
alwaysnacy Nov 8, 2020
520795f
Clean codes
alwaysnacy Nov 8, 2020
1b123da
Update pptx DG, glossary, manual test, and JUnit Test
Nov 8, 2020
a1cab89
Fixed DG merge conflict
Nov 8, 2020
04934e6
Update UG with information regarding editing the save data file
wangwaynesg Nov 8, 2020
8f10b02
Merge pull request #223 from wangwaynesg/master
wangwaynesg Nov 8, 2020
93bd109
Fix minor UG issue where missing one link
wangwaynesg Nov 8, 2020
feae39c
Merge pull request #224 from wangwaynesg/master
wangwaynesg Nov 8, 2020
106fdbd
fix tagcommand
alwaysnacy Nov 8, 2020
48a5549
add Parser diagram
alwaysnacy Nov 8, 2020
25d6cb5
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
alwaysnacy Nov 8, 2020
95149db
fix broken link to About US
LiewWS Nov 9, 2020
8bae893
fix broken link to storage FAQ in UG
LiewWS Nov 9, 2020
8671a2f
update version number in case we forget later
LiewWS Nov 9, 2020
b423af5
update ppp name to format required
LiewWS Nov 9, 2020
861f6b7
Rename LiewWS.md to liewws.md
LiewWS Nov 9, 2020
c72ea5b
Fix image size
wangwaynesg Nov 9, 2020
2d70802
Merge pull request #228 from wangwaynesg/master
wangwaynesg Nov 9, 2020
fc760b6
clarify requirements of adding question and answer in UG
LiewWS Nov 9, 2020
48c6cf0
Block user from entering non-alphanumeric qn and ans in update
LiewWS Nov 9, 2020
897f863
update UserGuide to be specific about updating question and answers t…
LiewWS Nov 9, 2020
71cf17b
Fixed typos in DG
Nov 9, 2020
b1a8402
Update Storage format read and write
wangwaynesg Nov 9, 2020
60c3ef0
Update UG to match changes in Storage format
wangwaynesg Nov 9, 2020
7c66fd7
Merge pull request #229 from wangwaynesg/master
wangwaynesg Nov 9, 2020
dc3b3b3
Update picture size to fit within 100px
Nov 9, 2020
3370912
Update PPP
Nov 9, 2020
c564821
Merge pull request #222 from kaijiel24/master
kaijiel24 Nov 9, 2020
e85f5b3
update profile picture
LiewWS Nov 9, 2020
6d2faa2
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
LiewWS Nov 9, 2020
1964914
update about us to include profile pic
LiewWS Nov 9, 2020
0e89e13
Updated PPP and DG
Nov 9, 2020
83d2322
Merge pull request #230 from kaijiel24/master
kaijiel24 Nov 9, 2020
a400f45
Merge pull request #227 from LiewWS/master
kaijiel24 Nov 9, 2020
2bb16fc
Update PPP
Nov 9, 2020
ac964bb
Merge pull request #231 from kaijiel24/master
kaijiel24 Nov 9, 2020
14b1a76
Update PPP
Nov 9, 2020
9745d2b
Merge pull request #232 from kaijiel24/master
kaijiel24 Nov 9, 2020
36805c1
update DG and UG
alwaysnacy Nov 9, 2020
d4597a1
Add files via upload
alwaysnacy Nov 9, 2020
5cf44fa
update PPP link
exuberant-duck Nov 9, 2020
d6ab7dc
update UG, DG and PPP
alwaysnacy Nov 9, 2020
db8e7bc
Merge pull request #233 from zhixiangteoh/master
zhixiangteoh Nov 9, 2020
a3b03f5
Merge branch 'alwaysnacy-Trang-addTests' into master
alwaysnacy Nov 9, 2020
b388f89
no message
alwaysnacy Nov 9, 2020
a28ab1c
update toc dg ug
exuberant-duck Nov 9, 2020
dcca2af
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp …
alwaysnacy Nov 9, 2020
c57d351
Merge pull request #235 from zhixiangteoh/master
zhixiangteoh Nov 9, 2020
278c563
no message
alwaysnacy Nov 9, 2020
8e29b7d
Merge pull request #236 from alwaysnacy/master
alwaysnacy Nov 9, 2020
ee764af
Fixed bugs for pptx in deck mode and updated UG and DG
Nov 9, 2020
6974215
Fixed bugs for pptx in deck mode and updated UG and DG
Nov 9, 2020
14334c2
Update DG Storage sequence diagram to have transparent background
wangwaynesg Nov 9, 2020
84a79d5
Merge pull request #239 from kaijiel24/master
kaijiel24 Nov 9, 2020
ca79bb9
Merge pull request #240 from wangwaynesg/master
wangwaynesg Nov 9, 2020
ed8a42a
Update DG diagram
Nov 9, 2020
41bccf5
Merge pull request #241 from kaijiel24/master
kaijiel24 Nov 9, 2020
01b27ef
fix white bg images
LiewWS Nov 9, 2020
23b3f01
Merge pull request #242 from LiewWS/master
LiewWS Nov 9, 2020
0e60f53
fixes #237
exuberant-duck Nov 9, 2020
23185be
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T14-2/tp
exuberant-duck Nov 9, 2020
c42be13
update UG setup instructions
exuberant-duck Nov 9, 2020
2641cd3
Merge pull request #243 from zhixiangteoh/master
zhixiangteoh Nov 9, 2020
d2f258b
Add files via upload
alwaysnacy Nov 9, 2020
bafa094
Add files via upload
alwaysnacy Nov 9, 2020
4e65518
Delete alwaysnacy.png
alwaysnacy Nov 9, 2020
3e4ae0f
Add files via upload
alwaysnacy Nov 9, 2020
b6f37a3
Delete alwaysnacy.png
alwaysnacy Nov 9, 2020
c8ad9df
Add files via upload
alwaysnacy Nov 9, 2020
2fe00cc
Delete alwaysnacy.png
alwaysnacy Nov 9, 2020
e76fc64
Add files via upload
alwaysnacy Nov 9, 2020
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
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ src/main/resources/docs/
*.iml
bin/

/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT
ACTUAL.TXT
log

78 changes: 14 additions & 64 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,14 @@
# Duke project template

This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it.

## Setting up in Intellij

Prerequisites: JDK 11 (use the exact version), update Intellij to the most recent version.

1. **Configure Intellij for JDK 11**, as described [here](https://se-education.org/guides/tutorials/intellijJdk.html).
1. **Import the project _as a Gradle project_**, as described [here](https://se-education.org/guides/tutorials/intellijImportGradleProject.html).
1. **Verify the set up**: After the importing is complete, locate the `src/main/java/seedu/duke/Duke.java` file, right-click it, and choose `Run Duke.main()`. If the setup is correct, you should see something like the below:
```
> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes

> Task :Duke.main()
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|

What is your name?
```
Type some word and press enter to let the execution proceed to the end.

## Build automation using Gradle

* This project uses Gradle for build automation and dependency management. It includes a basic build script as well (i.e. the `build.gradle` file).
* If you are new to Gradle, refer to the [Gradle Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/gradle.html).

## Testing

### I/O redirection tests

* To run _I/O redirection_ tests (aka _Text UI tests_), navigate to the `text-ui-test` and run the `runtest(.bat/.sh)` script.

### JUnit tests

* A skeleton JUnit test (`src/test/java/seedu/duke/DukeTest.java`) is provided with this project template.
* If you are new to JUnit, refer to the [JUnit Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/junit.html).

## Checkstyle

* A sample CheckStyle rule configuration is provided in this project.
* If you are new to Checkstyle, refer to the [Checkstyle Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/checkstyle.html).

## CI using GitHub Actions

The project uses [GitHub actions](https://github.com/features/actions) for CI. When you push a commit to this repo or PR against it, GitHub actions will run automatically to build and verify the code as updated by the commit/PR.

## Documentation

`/docs` folder contains a skeleton version of the project documentation.

Steps for publishing documentation to the public:
1. If you are using this project template for an individual project, go your fork on GitHub.<br>
If you are using this project template for a team project, go to the team fork on GitHub.
1. Click on the `settings` tab.
1. Scroll down to the `GitHub Pages` section.
1. Set the `source` as `master branch /docs folder`.
1. Optionally, use the `choose a theme` button to choose a theme for your documentation.
# eCardnomics
___ _ _
___ / __\__ _ _ __ __| |_ __ ___ _ __ ___ (_) ___ ___
/ _ \/ / / _` | '__/ _` | '_ \ / _ \| '_ ` _ \| |/ __/ __|
| __/ /__| (_| | | | (_| | | | | (_) | | | | | | | (__\__ \
\___\____/\__,_|_| \__,_|_| |_|\___/|_| |_| |_|_|\___|___/

eCardnomics is a **desktop flashcard application to quickly create, manage, and access new flashcards via a Command
Line Interface (CLI)**.

Useful links:
* [User Guide](https://ay2021s1-cs2113-t14-2.github.io/tp/UserGuide.html)
* [Developer Guide](https://ay2021s1-cs2113-t14-2.github.io/tp/DeveloperGuide.html)
* [About Us](https://ay2021s1-cs2113-t14-2.github.io/tp/AboutUs.html)
12 changes: 10 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ repositories {
dependencies {
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'

compile group: 'org.apache.poi', name: 'poi', version: '4.1.2'
compile group: 'org.apache.poi', name: 'poi-ooxml', version: '4.1.2'

compile 'org.beryx:awt-color-factory:1.0.1'
}


test {
useJUnitPlatform()

Expand All @@ -29,11 +35,11 @@ test {
}

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

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

Expand All @@ -43,4 +49,6 @@ checkstyle {

run{
standardInput = System.in
enableAssertions = true

}
64 changes: 64 additions & 0 deletions data/deckList.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
================================================================================
deck | Micro-Economics
tags | Economics | EC1301
Q | What is the Law of demand?
A | When the price of a good rises, the quantity of the good demanded will fall, ceteris paribus.
Q | What is the Law of supply?
A | When the price of a good increases, the quantity supplied increases, ceteris paribus.
Q | What is price elasticity of demand?
A | Percentage change in quantity demanded caused by a 1 percent change in price.
Q | What is price elasticity of supply?
A | Percentage change in quantity supplied caused by a 1 percent change in price.
Q | What is Market Failure?
A | Market failure is the economic situation defined by an inefficient distribution of goods and services in the free market.
================================================================================
deck | Macro-Economics
tags | Economics | EC1301
Q | What are ways GDP can be calculated?
A | Three ways: Expenditure approach, Value-addedd approach and Factor payments approach.
Q | What is the GDP formula using the Expenditure approach?
A | GDP = C + I + G + NX
Q | Define frictional unemployment.
A | Unemployment related to time taken for people to find new jobs.
Q | Define seasonal unemployment.
A | Unemployment related to changes in weather, tourist patterns, or other seasonal factors.
Q | Define structural unemployment.
A | Unemployment related to skill mismatch between workers' skills and employers' requirements.
Q | Define cyclical unemployment.
A | Unemployment arising from changes in production over the business cycle.
================================================================================
deck | Object-oriented Programming
tags | Computer | Science | CS2113
Q | What are the programming paradigms based on OODP?
A | Abstraction, Polymorphism, Inheritence, Encapsulation
Q | What are access modifiers?
A | Access level modifiers determine whether other classes can use a particular field or invoke a particular method.
Q | How do you represent for and while loops in a sequence diagram?
A | Using the "loop" notation.
================================================================================
deck | Test Deck
tags | TESTING | DECK | TAGS
Q | TEST 1: Empty Answer
A |
Q | TEST 2: Empty Answer with whitespaces
A |
Q |
A | TEST 3: Empty Question
Q |
A | TEST 4: Empty Question with whitespaces
Q | TEST 5: Both question and answer empty
A | Following QNA are empty.
Q |
A |
Q | TEST 6: Non-alphanumeric question and answer
A | ./!@$#*&#
Q | ./*-+""
A | TEST 7: Non-alphanumeric question and answer
Q | CORRECT QUESTION
A | CORRECT ANSWER
================================================================================
deck | Test Deck
tags | Duplicate | Deck | Name | Test
Q | TEST WHETHER EXISTING DECK NAME
A | SHOULD BE NOT ALLOWED?
================================================================================
10 changes: 5 additions & 5 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

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)
![](./team/liewws.png) | Liew Wei Siew | [Github](https://github.com/LiewWS) | [Portfolio](./team/liewws.md)
![](./team/zhixiangteoh.png) | Zhixiang Teoh | [Github](https://github.com/zhixiangteoh) | [Portfolio](./team/zhixiangteoh.md)
![](https://via.placeholder.com/100.png?text=Photo) | Trang | [Github](https://github.com/alwaysnacy/) | [Portfolio](./team/alwaysnacy.md)
![](./team/kaijiel24.png) | Kai Jie | [Github](https://github.com/kaijiel24) | [Portfolio](./team/kaijiel24.md)
![](./team/wangwaynesg.png) | Wang Wayne | [Github](https://github.com/wangwaynesg/) | [Portfolio](./team/wangwaynesg.md)
Loading