Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
360 commits
Select commit Hold shift + click to select a range
ce148eb
Fix #45
yyingg-243 Apr 1, 2025
a0d4fcc
Merge pull request #46 from yyingg-243/master
James17042002 Apr 2, 2025
d833ec3
Merge pull request #43 from TiangSoonYong/A-Fix
James17042002 Apr 2, 2025
990e74f
delete shop interaction class
James17042002 Apr 2, 2025
4fab042
Merge branch 'master' of https://github.com/James17042002/tp
James17042002 Apr 2, 2025
a054614
Create BootsDatabase and WeaponDatabase for predefined equipment.
vincesum Apr 2, 2025
fb95da7
Shop Completed, Equipment List and Player methods for buy sell added
James17042002 Apr 2, 2025
b115e54
Merge pull request #47 from vincesum/master
James17042002 Apr 2, 2025
5972999
Merge branch 'master' into master
James17042002 Apr 2, 2025
6c253f2
Merge pull request #48 from James17042002/master
James17042002 Apr 2, 2025
ee394cf
Update toString methods for equipmentlist and player
James17042002 Apr 2, 2025
7fd138c
Merge branch 'master' of https://github.com/James17042002/tp
James17042002 Apr 2, 2025
98d52fc
Updated Shop UI
James17042002 Apr 2, 2025
cc3acd4
Merge branch 'AY2425S2-CS2113-T13-4:master' into master
James17042002 Apr 2, 2025
1902f51
Merge pull request #49 from James17042002/master
James17042002 Apr 2, 2025
201469f
Initial menu-based UI
zavsky Apr 2, 2025
a89d0d9
Add simple working menu
zavsky Apr 2, 2025
bc5339b
Merge pull request #51 from zavsky/refactor
zavsky Apr 2, 2025
a00643c
Fix #52
yyingg-243 Apr 2, 2025
ccfe04f
Fix Parser crashing due to empty entered command
zavsky Apr 2, 2025
781f642
Merge pull request #53 from yyingg-243/master
TiangSoonYong Apr 2, 2025
ccb9ce4
Merge pull request #55 from zavsky/parser-hotfix
TiangSoonYong Apr 2, 2025
e0acc38
Add basic battle event queue and menu fixes
zavsky Apr 3, 2025
2995d8d
#45
yyingg-243 Apr 3, 2025
9d7fea2
Merge pull request #58 from zavsky/battle-queue
yyingg-243 Apr 3, 2025
0ecbf5f
Merge branch 'master' of https://github.com/AY2425S2-CS2113-T13-4/tp
yyingg-243 Apr 3, 2025
a185b2a
Add chance shop event
zavsky Apr 3, 2025
169845a
Fix game shop appearance logic
zavsky Apr 3, 2025
ef6a21b
Added LootSequence and shopSequence
James17042002 Apr 3, 2025
5ae640a
Merge branch 'master' of https://github.com/James17042002/tp
James17042002 Apr 3, 2025
b1f2a79
Merge branch 'AY2425S2-CS2113-T13-4:master' into master
James17042002 Apr 3, 2025
af0b382
Merge branch 'master' into Class-Storage
TiangSoonYong Apr 3, 2025
ab7d72d
Fix shop appearing after game over
zavsky Apr 3, 2025
3069141
Merge pull request #60 from zavsky/shop-event
zavsky Apr 3, 2025
f5c67ca
Merge branch 'master' of https://github.com/AY2425S2-CS2113-T13-4/tp
yyingg-243 Apr 3, 2025
b8f10f4
Standardise armor spelling
zavsky Apr 3, 2025
5ee2994
error handling for not enough gold
James17042002 Apr 3, 2025
fb37760
Merge branch 'master' of https://github.com/James17042002/tp
James17042002 Apr 3, 2025
ceb1b8a
Merge branch 'AY2425S2-CS2113-T13-4:master' into master
James17042002 Apr 3, 2025
94fcb68
Merge pull request #61 from James17042002/master
James17042002 Apr 3, 2025
5f5c705
Merge remote-tracking branch 'upstream/master' into Class-Storage
TiangSoonYong Apr 3, 2025
80e88c2
Add support to save Shop and Loot event, as well as new gold and equi…
TiangSoonYong Apr 3, 2025
c3ff7ad
Add support to load Shop and Loot event, as well as new gold and equi…
TiangSoonYong Apr 3, 2025
0685e84
Merge branch 'master' of https://github.com/AY2425S2-CS2113-T13-4/tp
yyingg-243 Apr 4, 2025
ff62b73
update dg and diagram according to member's comment
yyingg-243 Apr 4, 2025
a5349a8
update readme file
yyingg-243 Apr 4, 2025
4b24915
#63
yyingg-243 Apr 4, 2025
c937ad2
update and add architecture diagram into DG
yyingg-243 Apr 4, 2025
1993faf
Merge pull request #59 from yyingg-243/master
vincesum Apr 4, 2025
a0526ce
cleanup
vincesum Apr 4, 2025
d5f1b07
Merge remote-tracking branch 'upstream/master'
vincesum Apr 4, 2025
0df9b1c
Merge pull request #64 from vincesum/master
vincesum Apr 4, 2025
7dbcc32
fix
James17042002 Apr 4, 2025
4aa0474
dg
James17042002 Apr 4, 2025
b5ea3b1
Upload pdf file
yyingg-243 Apr 4, 2025
2b7a795
Merge pull request #65 from yyingg-243/master
vincesum Apr 4, 2025
7568525
Merge remote-tracking branch 'upstream/master'
TiangSoonYong Apr 4, 2025
fe42bef
bug fix
vincesum Apr 4, 2025
b6b68da
Merge pull request #66 from vincesum/master
vincesum Apr 4, 2025
fe5e1d1
Merge remote-tracking branch 'upstream/master' into Class-Storage
TiangSoonYong Apr 4, 2025
d78f85a
Merge branch 'master' of https://github.com/TiangSoonYong/tp
TiangSoonYong Apr 4, 2025
86b6b6b
Merge branch 'master' into Class-Storage
TiangSoonYong Apr 4, 2025
53e8e8e
Fix javadocs
TiangSoonYong Apr 4, 2025
a020ee3
update uml diagram
vincesum Apr 4, 2025
7bf549d
Merge remote-tracking branch 'upstream/master'
vincesum Apr 4, 2025
3def7db
update uml diagram
vincesum Apr 4, 2025
6d247c2
Merge pull request #62 from TiangSoonYong/Class-Storage
vincesum Apr 4, 2025
6ea4ff2
Merge pull request #71 from vincesum/master
James17042002 Apr 5, 2025
6e3eaf5
Merge branch 'AY2425S2-CS2113-T13-4:master' into master
James17042002 Apr 5, 2025
017f623
Fixed Shop bug for buy and sell only
James17042002 Apr 5, 2025
e272696
Rewrite for greater replayability and dynamism
zavsky Apr 5, 2025
98ccf4c
Merge remote-tracking branch 'upstream/master'
TiangSoonYong Apr 5, 2025
661f9dd
Merge branch 'zavsky-rewritev2-1'
zavsky Apr 6, 2025
3e3f170
Update dev guide
vincesum Apr 6, 2025
efbafa6
Merge pull request #87 from vincesum/master
vincesum Apr 6, 2025
911a897
Merge branch 'master' of https://github.com/James17042002/tp
James17042002 Apr 6, 2025
ba4e758
update equipmentlist
James17042002 Apr 6, 2025
2d217ee
Edit some files to make it compilable
James17042002 Apr 6, 2025
255117e
Merge remote-tracking branch 'upstream/master'
TiangSoonYong Apr 6, 2025
34ca870
Revert "Merge remote-tracking branch 'upstream/master'"
TiangSoonYong Apr 6, 2025
619c9be
Reapply "Merge remote-tracking branch 'upstream/master'"
TiangSoonYong Apr 6, 2025
4081182
Bug fix, game un-runnable
TiangSoonYong Apr 6, 2025
1f02cdc
Fix Storage Class
TiangSoonYong Apr 6, 2025
ff72add
Bug Fix
TiangSoonYong Apr 6, 2025
b5227a5
Add menu printing after user loses
TiangSoonYong Apr 6, 2025
d4cbc85
#90
yyingg-243 Apr 7, 2025
2ba1e3f
Merge pull request #89 from TiangSoonYong/master
vincesum Apr 7, 2025
803b0de
Vin commit
vincesum Apr 7, 2025
0d80f34
add Equipment list to new ver
James17042002 Apr 7, 2025
6e3cc75
Merge refactor and stage UG, DG writeup
zavsky Apr 7, 2025
259b3e9
Merge branch 'master' of https://github.com/James17042002/tp
James17042002 Apr 7, 2025
fc3687f
First UG revision, missing looting and shop details
zavsky Apr 7, 2025
a757a89
Merge pull request #97 from zavsky/rewritev2-2
zavsky Apr 7, 2025
ca2e8b3
Merge pull request #98 from zavsky/rewritev2-2
zavsky Apr 7, 2025
dd11c36
Fix UserGuide.md not showing images correctly
zavsky Apr 7, 2025
6826465
make it work
James17042002 Apr 7, 2025
d163301
Merge branch 'master' into master
James17042002 Apr 7, 2025
cd8f285
Merge pull request #102 from James17042002/master
James17042002 Apr 7, 2025
a01c509
Add userguide faq and command summary
zavsky Apr 7, 2025
0aab73d
Add userguide faq and command summary
zavsky Apr 7, 2025
7553559
Merge branch 'rewritev2-2' of https://github.com/zavsky/tp into rewri…
zavsky Apr 7, 2025
a77867a
Merge pull request #103 from zavsky/rewritev2-2
zavsky Apr 7, 2025
842ca08
#90
yyingg-243 Apr 7, 2025
adcbb9e
Merge remote-tracking branch 'upstream/master'
vincesum Apr 7, 2025
e184ead
Remove Rolladie.java changes from PR
yyingg-243 Apr 7, 2025
a8f1715
Remove Rolladie.java changes from PR
yyingg-243 Apr 7, 2025
b8fcf42
Merge branch 'master' into master
yyingg-243 Apr 7, 2025
a727dac
resolve merge conflicts
yyingg-243 Apr 7, 2025
7f41032
Create loot class
vincesum Apr 7, 2025
bbe19fd
Merge pull request #105 from yyingg-243/master
vincesum Apr 7, 2025
c40ab55
Fix main menu user input infinite loop
zavsky Apr 7, 2025
71215b9
Merge pull request #106 from zavsky/rewritev2-2
zavsky Apr 7, 2025
a7c05a4
Merge remote-tracking branch 'upstream/master'
vincesum Apr 7, 2025
a51a9d4
Merge remote-tracking branch 'upstream/master'
vincesum Apr 7, 2025
fe2f9e2
Removed EquipmentList
James17042002 Apr 7, 2025
b1f1fb1
Merge branch 'master' of https://github.com/James17042002/tp
James17042002 Apr 7, 2025
1fb8592
Minor updates
vincesum Apr 7, 2025
b8d4aa8
Merge remote-tracking branch 'upstream/master'
TiangSoonYong Apr 7, 2025
16c9e70
fixed Equipment array to not have null values
James17042002 Apr 7, 2025
22fb69d
Merge pull request #108 from James17042002/master
James17042002 Apr 7, 2025
b479180
more fixes for Equipment list
James17042002 Apr 7, 2025
ac66b1c
nil
James17042002 Apr 7, 2025
af32b7c
Merge branch 'AY2425S2-CS2113-T13-4:master' into master
James17042002 Apr 7, 2025
e40f837
Merge pull request #109 from James17042002/master
James17042002 Apr 7, 2025
ae890c3
Update Dev Guide
vincesum Apr 7, 2025
540a1b1
Merge remote-tracking branch 'upstream/master'
TiangSoonYong Apr 7, 2025
a823505
Merge remote-tracking branch 'upstream/master'
vincesum Apr 7, 2025
41113d7
Merge pull request #107 from vincesum/master
TiangSoonYong Apr 7, 2025
406560e
Merge remote-tracking branch 'upstream/master'
TiangSoonYong Apr 7, 2025
0ccd5c4
Fixed buy and sell for shop
James17042002 Apr 7, 2025
e0a894c
Merge branch 'AY2425S2-CS2113-T13-4:master' into master
James17042002 Apr 7, 2025
ee1eb5d
#111
yyingg-243 Apr 7, 2025
a071b14
Merge branch 'master' of https://github.com/AY2425S2-CS2113-T13-4/tp
yyingg-243 Apr 7, 2025
63da00f
Shop UI
James17042002 Apr 7, 2025
a0902ae
Merge pull request #110 from James17042002/master
James17042002 Apr 7, 2025
2491caa
Merge remote-tracking branch 'upstream/master'
TiangSoonYong Apr 7, 2025
e1aa0cb
equipment database updated
James17042002 Apr 7, 2025
e2e09c9
Merge pull request #112 from James17042002/master
James17042002 Apr 7, 2025
99bceaf
Update developer guide for Attack, Heal, Save and Load, Loot features.
vincesum Apr 7, 2025
c6fdb6a
Merge remote-tracking branch 'upstream/master'
vincesum Apr 7, 2025
c450e43
some shop improvements
James17042002 Apr 7, 2025
c2b1049
Merge pull request #113 from James17042002/master
James17042002 Apr 7, 2025
442d2a7
Add support for Flee and Exit within Battle
TiangSoonYong Apr 7, 2025
6cf2a9c
Merge remote-tracking branch 'upstream/master' into Game-Fix
TiangSoonYong Apr 7, 2025
3c0b55a
Include equipment values, fix bugs
James17042002 Apr 7, 2025
2f8d566
Merge pull request #115 from TiangSoonYong/Game-Fix
James17042002 Apr 7, 2025
1156599
Merge pull request #114 from James17042002/master
James17042002 Apr 7, 2025
2d44572
DG update
vincesum Apr 7, 2025
1a428e8
Game Balancing
TiangSoonYong Apr 7, 2025
d709cc6
Merge remote-tracking branch 'upstream/master' into Game-Fix
TiangSoonYong Apr 7, 2025
f472e30
Merge pull request #116 from TiangSoonYong/Game-Fix
James17042002 Apr 7, 2025
b1b7889
Merge remote-tracking branch 'upstream/master'
vincesum Apr 7, 2025
f0188d9
fix wave miscounting issues
James17042002 Apr 7, 2025
a23eb05
Merge branch 'master' of https://github.com/James17042002/tp
James17042002 Apr 7, 2025
7e55316
Merge remote-tracking branch 'upstream/master'
vincesum Apr 7, 2025
7b49d3a
Add halt to Loot event
TiangSoonYong Apr 7, 2025
9f836f0
Merge pull request #117 from TiangSoonYong/Game-Fix
James17042002 Apr 7, 2025
c8441f7
Merge branch 'AY2425S2-CS2113-T13-4:master' into master
James17042002 Apr 7, 2025
f4b4b5f
Merge remote-tracking branch 'upstream/master'
vincesum Apr 7, 2025
8e0864a
Add UML diagrams
zavsky Apr 7, 2025
054cea6
Merge pull request #118 from zavsky/rewritev2-2
zavsky Apr 7, 2025
f5bbb59
Update Loot and LootTest
vincesum Apr 7, 2025
92c16a8
Merge pull request #119 from vincesum/master
vincesum Apr 7, 2025
d614c5c
Refactor
TiangSoonYong Apr 7, 2025
789a94d
#111
yyingg-243 Apr 7, 2025
6bb471c
Merge remote-tracking branch 'upstream/master' into Game-Fix
TiangSoonYong Apr 7, 2025
28ce6b8
Add UML pictures
zavsky Apr 7, 2025
386f821
Merge pull request #121 from zavsky/rewritev2-2
zavsky Apr 7, 2025
da62198
Merge pull request #120 from TiangSoonYong/Game-Fix
James17042002 Apr 7, 2025
541a0af
Merge branch 'AY2425S2-CS2113-T13-4:master' into master
James17042002 Apr 7, 2025
15d38d0
Merge branch 'master' of https://github.com/AY2425S2-CS2113-T13-4/tp
yyingg-243 Apr 7, 2025
1ebcd63
Add seq diagram, change some database
James17042002 Apr 7, 2025
62dca0c
Skeleton for Storage saving and loading
TiangSoonYong Apr 7, 2025
bea8110
Merge pull request #122 from James17042002/master
TiangSoonYong Apr 7, 2025
8449481
Merge remote-tracking branch 'upstream/master' into Storage-Fix
TiangSoonYong Apr 7, 2025
027a364
#111
yyingg-243 Apr 7, 2025
1e9d824
LootTest and ShopTest update
vincesum Apr 7, 2025
3d0e8e6
Add support for saving
TiangSoonYong Apr 7, 2025
12fff8b
Add constructor to add gold to player,
James17042002 Apr 7, 2025
1ec1ddb
Userguide update Loot
vincesum Apr 7, 2025
9fdfadc
Merge remote-tracking branch 'upstream/master'
vincesum Apr 7, 2025
4b6b84f
Merge pull request #124 from vincesum/master
vincesum Apr 7, 2025
8754464
Update DeveloperGuide.md
zavsky Apr 7, 2025
b3fda25
Rename Architecture Diagram.png to ArchitectureDiagram.png
zavsky Apr 7, 2025
798b790
Update DeveloperGuide.md
zavsky Apr 7, 2025
4a196c2
Merge branch 'master' of https://github.com/AY2425S2-CS2113-T13-4/tp
yyingg-243 Apr 7, 2025
55456ff
Add support for loading game
TiangSoonYong Apr 7, 2025
e2ea499
Merge remote-tracking branch 'upstream/master' into Storage-Fix
TiangSoonYong Apr 7, 2025
5c0a35e
User guide for Shop
James17042002 Apr 7, 2025
610575b
Merge branch 'master' into master
James17042002 Apr 7, 2025
c5493e6
Edit Irwin ppp
zavsky Apr 7, 2025
d44eab9
Merge pull request #123 from James17042002/master
James17042002 Apr 7, 2025
98c38f4
Merge pull request #125 from zavsky/rewritev2-2
zavsky Apr 7, 2025
73c6884
Minor edits and implementation of Game over screen.
vincesum Apr 7, 2025
67d0a58
Merge remote-tracking branch 'upstream/master'
vincesum Apr 7, 2025
65427aa
Merge pull request #126 from vincesum/master
vincesum Apr 7, 2025
797a971
Full support for game
TiangSoonYong Apr 7, 2025
3315e0d
Merge branch 'master' into Storage-Fix
TiangSoonYong Apr 7, 2025
a177816
Update UG
vincesum Apr 7, 2025
76b8c99
Merge pull request #127 from TiangSoonYong/Storage-Fix
zavsky Apr 7, 2025
80a2366
Merge pull request #128 from vincesum/master
vincesum Apr 7, 2025
4dc4b56
Merge remote-tracking branch 'upstream/master'
TiangSoonYong Apr 7, 2025
525a385
UI changes staging
zavsky Apr 7, 2025
d032dc5
update code to follow coding standard
yyingg-243 Apr 7, 2025
1c18dfb
Merge branch 'master' of https://github.com/AY2425S2-CS2113-T13-4/tp
yyingg-243 Apr 7, 2025
5b2c98f
Final UI edits for consistency
zavsky Apr 7, 2025
978df40
Merge pull request #131 from zavsky/rewritev2-2
zavsky Apr 7, 2025
1ef8394
#111
yyingg-243 Apr 7, 2025
f5cc167
Merge branch 'master' into master
yyingg-243 Apr 7, 2025
4d92b15
Merge pull request #129 from yyingg-243/master
yyingg-243 Apr 7, 2025
c32f600
#111
yyingg-243 Apr 7, 2025
cd0cd5b
Merge branch 'master' of https://github.com/AY2425S2-CS2113-T13-4/tp
yyingg-243 Apr 7, 2025
105c365
#111 update ppp
yyingg-243 Apr 7, 2025
dabafc5
Merge remote-tracking branch 'upstream/master'
TiangSoonYong Apr 7, 2025
6138dc7
#111
yyingg-243 Apr 7, 2025
89c1bf2
Final edit
zavsky Apr 8, 2025
2f8184c
Merge pull request #135 from zavsky/rewritev2-2
zavsky Apr 8, 2025
f1cfce4
checkstyle change
vincesum Apr 8, 2025
1928c08
Merge remote-tracking branch 'upstream/master'
vincesum Apr 8, 2025
22ff5d9
#111
yyingg-243 Apr 8, 2025
315028e
Updated docs/teams naming to match requirements
zavsky Apr 8, 2025
1d08513
DG minor edit
vincesum Apr 8, 2025
3a1d2b5
Merge pull request #136 from vincesum/master
vincesum Apr 8, 2025
600c471
Resolved merge conflicts
yyingg-243 Apr 8, 2025
e2573ac
Merge branch 'master' into rewritev2-2
zavsky Apr 8, 2025
f7d79b6
Merge pull request #137 from zavsky/rewritev2-2
zavsky Apr 8, 2025
89bfb47
Update UserGuide.md
zavsky Apr 8, 2025
566387e
Update AboutUs to correctly display members
vincesum Apr 8, 2025
2307584
Merge pull request #138 from vincesum/master
vincesum Apr 8, 2025
b11d85b
Merge branch 'master' of https://github.com/AY2425S2-CS2113-T13-4/tp …
yyingg-243 Apr 8, 2025
f84b1c1
Merge branch 'master' of https://github.com/TiangSoonYong/tp
TiangSoonYong Apr 8, 2025
8d3a558
Remove old DG and UG pdf
zavsky Apr 8, 2025
a8ce079
Merge pull request #133 from yyingg-243/master
yyingg-243 Apr 8, 2025
d21ec63
Merge pull request #139 from zavsky/rewritev2-2
zavsky Apr 8, 2025
e2a37fa
Merge remote-tracking branch 'upstream/master'
TiangSoonYong Apr 8, 2025
3669257
Update AboutUs.md to correctly bring you to PPP
vincesum Apr 8, 2025
4dabb0a
Merge remote-tracking branch 'upstream/master'
vincesum Apr 8, 2025
c595b71
Merge pull request #140 from vincesum/master
vincesum Apr 8, 2025
1d01548
Merge remote-tracking branch 'upstream/master'
TiangSoonYong Apr 8, 2025
3d5ea78
change shop test
James17042002 Apr 8, 2025
d700f65
more
James17042002 Apr 8, 2025
57a2326
Merge branch 'master' of https://github.com/James17042002/tp
James17042002 Apr 8, 2025
2b374d8
Update DG
TiangSoonYong Apr 8, 2025
ec2d769
MY PPP
James17042002 Apr 8, 2025
24e331e
Merge pull request #141 from James17042002/master
James17042002 Apr 8, 2025
2b4c7df
Update Storage Test files
TiangSoonYong Apr 8, 2025
f05d2db
Merge pull request #142 from TiangSoonYong/master
TiangSoonYong Apr 8, 2025
cc61320
Merge pull request #143 from TiangSoonYong/master
TiangSoonYong Apr 8, 2025
27fa0cc
final check on checkstyle error
yyingg-243 Apr 8, 2025
f47b36f
Merge pull request #144 from yyingg-243/master
yyingg-243 Apr 8, 2025
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ bin/

/text-ui-test/ACTUAL.TXT
text-ui-test/EXPECTED-UNIX.TXT
data/savefile.txt
save_slot_1.dat
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
Empty file added FETCH_HEAD
Empty file.
3 changes: 3 additions & 0 deletions META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: Rolladie

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Duke project template
# Rolladie 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.
This is a project template for a greenfield Java project. Given below are instructions on how to use it.

## Setting up in Intellij

Expand Down
9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ test {
}

application {
mainClass.set("seedu.duke.Duke")
mainClass.set("Rolladie")
}

shadowJar {
archiveBaseName.set("duke")
archiveBaseName.set("rolladie")
archiveClassifier.set("")
}

Expand All @@ -43,4 +43,9 @@ checkstyle {

run{
standardInput = System.in
enableAssertions = true
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

2 changes: 2 additions & 0 deletions data/savefile1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1
HDFDGH | 100 | 100 | 5 | 3 | Armor -1 | Boots -1 | Weapon -1 | 0 | 50 | 100
2 changes: 2 additions & 0 deletions data/savefile3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
3
HTTORKHDOFPGHKFGDPOHDGF | 62 | 100 | 5 | 3 | Armor -1 | Boots -1 | Weapon -1 | 27 | 100 | 100
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)
![](https://via.placeholder.com/100.png?text=Photo) | Vincent | [Github](https://github.com/vincesum) | [Portfolio](team/vincesum.md)
![](https://via.placeholder.com/100.png?text=Photo) | Lee ying ying | [Github](https://github.com/yyingg-243) | [Portfolio](team/yyingg-243.md)
![](https://via.placeholder.com/100.png?text=Photo) | James Koh | [Github](https://github.com/James17042002) | [Portfolio](team/james17042002.md)
![](https://via.placeholder.com/100.png?text=Photo) | Tiang Soon Yong | [Github](https://github.com/TiangSoonYong) | [Portfolio](team/tiangsoonyong.md)
![](https://via.placeholder.com/100.png?text=Photo) | Irwin Teo | [Github](https://github.com/zavsky) | [Portfolio](team/zavsky.md)
432 changes: 414 additions & 18 deletions docs/DeveloperGuide.md

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Duke
# RollaDie

{Give product intro here}
RollaDie is a Dungeon & Dragons (DnD) text-based RPG,designed for CLI play.
It offers a retro-style gaming experience where players can embark on adventures, make choices,
and roll the dice to determine their fate. With its simple interface and replayable gameplay,
RollaDie provides a fun and engaging escape for CS2113 students.

Useful links:
## Useful links:
* [User Guide](UserGuide.md)
* [Developer Guide](DeveloperGuide.md)
* [About Us](AboutUs.md)
220 changes: 200 additions & 20 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,222 @@
# User Guide
# RollaDie User Guide

## Table of content

- [Introduction](#introduction)

- [Quick Start](#quick-start)

- [Features](#features)

- [1. Starting a new game](#starting-a-new-game)

- [2. Loading from a save](#loading-from-a-save)

- [3. Making your character](#making-your-character)

- [4. Choosing your battle ability](#choosing-your-battle-ability)

- [5. Looting the enemy](#looting-the-enemy)

- [6. Purchasing from the shop](#purchasing-from-the-shop)

- [7. Saving the game](#saving-the-game)

- [8. Exiting the game](#exiting-the-game)

- [Command Summary](#command-summary)

- [FAQ](#faq)

## Introduction

{Give a product intro}
RollaDie is a Dungeon & Dragons (DnD) text-based RPG, optimised to play using Command Line Interface (CLI) and has a simple text-ui display that reminisces games of the 1960s. Players face off hordes of enemies with the ultimate goal of achieving the legendary status in the annals of history. Join the story and learn the secrets that lay within!

The target audience of this program are CS2113 students, but everyone is invited! It serves primarily as a stress reliever, and it aims to provide a dynamic and replay-able experience!


## Quick Start

{Give steps to get started quickly}
1. Ensure that you have Java 17 installed.

1. Ensure that you have Java 17 or above installed.
1. Down the latest version of `Duke` from [here](http://link.to/duke).
2. Download the latest version of `Rolladie` from [here](https://github.com/AY2425S2-CS2113-T13-4/tp/releases/).

## Features
3. From the folder containing the downloaded JAR file, run the following command in your terminal to start the game:
- `java -jar ./rolladie.jar`

{Give detailed description of each feature}
## Features

### Adding a todo: `todo`
Adds a new item to the list of todo items.
> [!NOTE]
> The dice outcome listed below are randomly generated, meaning the results will vary each time. As a result, the damage calculation will depend highly on the situation and can only be used as a reference

Format: `todo n/TODO_NAME d/DEADLINE`
### Starting a new game

* The `DEADLINE` can be in a natural language format.
* The `TODO_NAME` cannot contain punctuation.
![](images/rolladie_mainmenu.png)

Example of usage:
Upon first launch, input `1` to start a new game.
### Loading from a save

`todo n/Write the rest of the User Guide d/next week`
To load from a previous save, input `2`.

`todo n/Refactor the User Guide to remove passive voice d/13/04/2020`
![](images/rolladie_mainmenu_loadsave.png)

## FAQ
You can choose the specific save slot to load from. Select your choice and begin!
### Making your character

If starting from a new game, the game will then ask you for your hero's name. Choose a name and type it in!
### Choosing your battle ability

![](images/rolladie_battle.png)

The game presents the round number (aka the bout number with the current opponent), your player stats, and the current enemy stats below.

Let's break it down:
`p` is our hero's name and he has 100 Hit Points (HP). Our player has 50 Power (out of a max possible 100), akin to mana that you encounter in other games of similar genre. The Weapon is an equipment that boosts your damage stats, while the Armor increases your durability. Below, we see our hero has three abilities he can use, namely Basic Attack, Power Strike and Heal.

The enemy is mostly similar in makeup, but this one has 50 Hit Points and a different Weapon and Armor. You can see how the equipment affects each player differently during combat. He has only one ability, Power Strike. Generally, the AI will intelligently choose its ability based on the situation. However, when the AI has no valid moves available, it will default to use a Basic Attack.

Select the ability you want to use for the round. Note that each ability comes with different costs (Power cost, Cooldown cost) and you will need to strategise well to survive!

#### Battle sequence

![](images/rolladie_battle1.png)

In this example, we begin with using the Basic Attack ability.

![](images/rolladie_battle2.png)

The game proceeds to roll both players' dice, with your hero's dice shown on the left and the opponent's shown on the right. The rolled value is critical in the calculation of the final damage dealt to each player. Here, you are looking for a high value.

![](images/rolladie_battle3.png)

An animation plays out to visually represent the changes to Hit Points at the present turn. The bar changes colour depending on the status of your character.

![](Pimages/rolladie_battle4.png)

In the next turn, you will see the changes to the player stats at the top, any ability cooldown related blockers will be shown with a turn counter.

![](images/rolladie_battle5.png)

The narrator will announce the effects of your attacks, as well as those of your opponents.

![](images/rolladie_battle6.png)

Here, the game continues the battle until one of the players is down. If the player survives into the next encounter, he/she may be awarded a new skill and be able to loot from the fallen opponent.
#### Strategizing for a win

There are various strategies to thriving in the world of RollaDie. Careful planning of your skills to leverage on each of their strengths is crucial in maintaining the upper edge in each encounter.

The damage calculation is as follows:
\[(dice roll result) + (num of dice) * (weapon bonus) - (opponent armor defense)] * \[(power) / (max power) * 0.5 * (ability damage multiplier)]

To break it down further:
- The number of dice impacts your damage calculation two-fold, the total roll result, as well as the weapon bonus per die rolled.
- The available amount of power you have scales your damage output up to a total of 50%.
- The used ability has an innate damage multiplier that will drastically change the total damage output.
- Finally, the equipped armor and player's defense stat will have a fixed damage reduction bonus applied on top.
### Looting the enemy

After every battle, there will be a loot event!
If you defeated the enemy, the loot event will grant you gold.
If you fled from the enemy, no gold for you!

### Buying and Selling in the shop

Every 2 waves, the player will be able to purchase Equipment from the Shop. These Equipment consists of Armor, Boots, Weapon.

**Q**: How do I transfer my data to another computer?
Upon entering the Shop, the equipment on sale will be shown with their costs. There will be three commands to choose from. This is the main shop screen.

**A**: {your answer here}
![](images/rolladie_shop_entry.png)

To select a command, just enter the corresponding index of the command.

Entering "1", will select [1. Buy] and buy instructions will be shown.

![](images/rolladie_buy_instructions.png)

Entering an index within the list of equipments on sale will attempt purchase the corresponding equipment.

It will be successful only if the player has enough gold.

In this example, the user enters "2" to buy "Leather Soles", and it is successfully equipped:

![](images/rolladie_buy_success.png)

In this example, the user enters "2" to buy "Leather Soles", but the purchase does not go through due to insufficient gold:

![](images/rolladie_buy_fail.png)

After a command is executed, the main shop screen will be shown again.

Entering "2", will select [2. Sell]. Sell instructions and a list of equipment Types will be shown.

![](images/rolladie_sell_instructions.png)

Entering an index within the list of equipment types will attempt to sell the Equipment owned by the player with the corresponding equipment type.

It will be successful only if the player owns such an equipment type.

In this example, the user enters "1" to sell the "Leather Soles" previously equipped. The user earns 5 gold, which is half the price of "Leather Soles".

![](images/rolladie_sell_success.png)

Since the "Leather Soles" are already sold, the player is left with an empty equipment slot for boots.

Therefore, trying to sell boots again will be a failure, as illustrated in the example below.

![](images/rolladie_sell_fail.png)

Entering "3" in the main shop screen will select [3. Exit the Shop] and proceed to the next event.

![](images/rolladie_shop_exit.png)

.


### Saving the game

The game will periodically ask you to save the game at checkpoints. Type `y` when prompted to save and `n` to skip through. Specify a save slot (1-3) to save multiple progresses and return to them when necessary!

### Exiting the game

At any point in the game when it asks for input, you can insert the command, `exit`, to quit the game. Do note however, that any unsaved progress will be lost!

### Game Rounds

The total number of battle rounds is 10. The goal is to win the 10th round of the game to beat the game.

## Command Summary

{Give a 'cheat sheet' of commands here}
There are no commands to remember. Simply follow and let the game guide you along!

| Function | Scenario | Input |
|----------------------|-------------|------------------------------------------------|
| Starting a new game | In main menu | `1` |
| Loading a previous save | In main menu | `2` |
| Creating a new character | In character screen | {your_hero_name} |
| Choosing your battle ability | In combat | Integer corresponding to your choice of ability {1..*} |
| Saving the game | At checkpoints | Input `y` and choose a slot number {1-3} |


## FAQ

**Q: How do I transfer my data to another computer?**

A: Copy the `.dat` files created in the same directory over to the other computer you wish to continue your save from.

**Q: What happens if I enter invalid input?**

A: The game will not accept the input and will prompt for another valid one.

**Q: What is the difference between HP, Power and Cooldown?**

A: Remaining HP is a measure of your character's durability against incoming damage. When HP falls to zero, your character also falls. Power acts like mana as seen frequently in other games of such genre, in that it is an ability casting requirement to prevent skill spamming, but also gives you a damage boost the more you stack it. So it helps add strategic depth. Cooldown applies to individual skills so that players are forced to choose their combat sequence tactically for the best outcome.

**Q: What is the difficulty of the game?**

A: The enemy will get stronger as the battles progresses, until the player reaches the final enemy. Therefore, players have to upgrade themself through the loot
and shop events that occur after battles, with loot appearing after every battle and shop appearing after every 2 battles.

**Q: What happens if I close the application without using the `exit` command?**

* Add todo `todo n/TODO_NAME d/DEADLINE`
A: Any previously saved progress will remain available. However, if there are any progress made between the point of exit and the point of last save, then those progress will be lost.
Loading
Loading