Kai Kehres
|
c4cadbbec0
|
prod: created getter and setter for character status
|
2 years ago |
Kai Kehres
|
28b4f0e1ac
|
refactoring: changed the return type of spells to new Struct SpellEffect and updated tests to resemble this
|
2 years ago |
Kai Kehres
|
8910a0d9a1
|
prod/test: creates spellHeal function and test
|
2 years ago |
Kai Kehres
|
40fcf6746c
|
prod/test: created new files spell.c /.h and test_spell.c and function spellFireball
|
2 years ago |
Kai Kehres
|
ddf08bfef0
|
prod: created function getItemInInventory
|
2 years ago |
Kai Kehres
|
daea02f10a
|
prod: created initializeInventory function
|
2 years ago |
Kai Kehres
|
09893d1efa
|
prod: created function putItemInInventory
|
2 years ago |
Kai Kehres
|
a9711f8a78
|
prod: created new struct item and getter setter
|
2 years ago |
Kai Kehres
|
6c6e4d32ed
|
prod: created function create randomized enemy
|
2 years ago |
Kai Kehres
|
cb948599c8
|
prod: new function initializeCharacter
|
2 years ago |
Kai Kehres
|
ac50591e76
|
prod: new Stat and getter Setter
|
2 years ago |
Mac10goesBRRRT
|
189548a9fb
|
Merge pull request #8 from Mac10goesBRRRT/testTools
Test tools
|
2 years ago |
Mac10goesBRRRT
|
b5619148cf
|
Merge pull request #7 from Mac10goesBRRRT/thirdcycle
Thirdcycle
|
2 years ago |
János Euler
|
1c1786c907
|
added .mailmap to assign the right email/user
|
2 years ago |
Kai Kehres
|
143104533b
|
refactoring: extracted function calls out of the assert
|
2 years ago |
János
|
a0476c7ad8
|
changed the .sh to test run all tests
|
2 years ago |
Kai Kehres
|
0e26ef798c
|
prod/test: created calculateDamage function and Unittests
|
2 years ago |
Kai Kehres
|
9c611496b9
|
prod: getter and setter for weaponClass
|
2 years ago |
Kai Kehres
|
b5236dad9c
|
prod: created struct weapon and getter setter for attack and Durability
|
2 years ago |
Kai Kehres
|
557375b9b6
|
refactoring: changed enemyDamaged function parameter and variables in the function
|
2 years ago |
Kai Kehres
|
c00b79a1f1
|
refactoring: changed enemyHeal function
|
2 years ago |
Kai Kehres
|
7780e81c61
|
refactoring: changed playerDamaged Parameters and Unittest setup to resemble the changes
|
2 years ago |
Kai Kehres
|
1e1d7697a3
|
refactoring: changed playerHealfunction paramter and Unittest setup to resemble the changes
|
2 years ago |
Kai Kehres
|
6b0a6f6f64
|
refactoring: changed player Alive function parameters to struct character
|
2 years ago |
Kai Kehres
|
b493f97146
|
prod: changed returntype of getcharactername
|
2 years ago |
Kai Kehres
|
197e696ef6
|
prod/test: created getter and setter for charactername
|
2 years ago |
Kai Kehres
|
eb7b7c07f6
|
prod/test: created function rollInitiative and Unittest
|
2 years ago |
Albtraumbaum
|
82bf7ee9d1
|
Merge pull request #5 from Mac10goesBRRRT/encIntegration
Enc integration
|
2 years ago |
János
|
85979f40ae
|
player can now get gold after a fight
|
2 years ago |
János
|
a18fede745
|
refactoring: moved useful functions to dif library
|
2 years ago |
János
|
89a76a1a36
|
player gets exp after combat
|
2 years ago |
Mac10goesBRRRT
|
60cb867815
|
Merge pull request #4 from Mac10goesBRRRT/SchereSteinPapier
Schere stein papier in main gemerged, alle test liefen
|
2 years ago |
Mac10goesBRRRT
|
b2f283d038
|
Merge branch 'main' into SchereSteinPapier
|
2 years ago |
János
|
2b3c1809f1
|
enemy now needs potions to heal
|
2 years ago |
János
|
d092c9f5b9
|
Changed Heal and Damage Functions
|
2 years ago |
János
|
b2c7caa08b
|
refactoring: Split play Heal/Damage
|
2 years ago |
Aimee Reincke
|
7f8d4445d8
|
refactoring: improved consistency and clarity
|
2 years ago |
János
|
d6cdcd00a6
|
refactoring: fight function switched to structs
|
2 years ago |
Aimee Reincke
|
fe59a58926
|
refactoring: extracted setScore function
|
2 years ago |
János
|
e633c8c6d3
|
refactoring: playerHealth() now uses Char Struct
|
2 years ago |
Aimee Reincke
|
2914b8d985
|
refactoring: extracted runGame function
|
2 years ago |
Aimee Reincke
|
c166123a00
|
improved random numbers
|
2 years ago |
Aimee Reincke
|
6faa5dfbff
|
refactoring: added print winner + text
|
2 years ago |
Aimee Reincke
|
ece1a547ef
|
print round results
|
2 years ago |
János
|
0d3e29f592
|
refactoring: changed variable names in test_enc
|
2 years ago |
Aimee Reincke
|
852c84e0a3
|
refactoring: improved testnames + removed comments
|
2 years ago |
Aimee Reincke
|
37c2f33dbd
|
refactoring: made print prompt a function + text
|
2 years ago |
Aimee Reincke
|
c00b4b86f9
|
refactoring: naming improved
|
2 years ago |
Aimee Reincke
|
01d870252f
|
play function
|
2 years ago |
János
|
9ff319fbb4
|
refactoring: replaced placeholders
|
2 years ago |