Aimee Reincke
|
47f60a0253
|
added play function
|
2 years ago |
Aimee Reincke
|
f2c137dc9d
|
added validation 9/9
|
2 years ago |
Aimee Reincke
|
4b3a0c31a5
|
added validation 8/9
|
2 years ago |
Aimee Reincke
|
cce629ba44
|
added validation 7/9
|
2 years ago |
Aimee Reincke
|
02f5d1256a
|
added validation 6/9
|
2 years ago |
Aimee Reincke
|
2b8f929ebe
|
added validation 5/9
|
2 years ago |
Aimee Reincke
|
dfa05c2fdc
|
added validation 4/9
|
2 years ago |
Aimee Reincke
|
a61a03975e
|
added validation 3/9
|
2 years ago |
Aimee Reincke
|
93a43ef1a7
|
added validation 2/9
|
2 years ago |
Aimee Reincke
|
6e79888d3b
|
added validation 1/9
|
2 years ago |
Aimee Reincke
|
5c7aa87a03
|
added fillAlmostFull to prevent playerwin
|
2 years ago |
Aimee Reincke
|
21269448d3
|
added fillAlmostFull for computerwin
|
2 years ago |
Aimee Reincke
|
d95ca2b2e9
|
added get computer input
|
2 years ago |
Aimee Reincke
|
de66f5ef8d
|
refactoring: more cohesive naming
|
2 years ago |
Aimee Reincke
|
3887b527d7
|
refactoring: less duplication
|
2 years ago |
Aimee Reincke
|
706f6b31bc
|
test for no winner yet
|
2 years ago |
Aimee Reincke
|
51818122b7
|
Field full no winner
|
2 years ago |
Aimee Reincke
|
f0a9f0fdde
|
computer wins game
|
2 years ago |
Aimee Reincke
|
4333fbf343
|
Player wins Game
|
2 years ago |
Aimee Reincke
|
050adc24c1
|
refactoring: implemented validate input
|
2 years ago |
Aimee Reincke
|
ac8629e1f8
|
invalid user Input
|
2 years ago |
Aimee Reincke
|
2cbe1727f0
|
valid user Input
|
2 years ago |
Aimee Reincke
|
764252dace
|
improved print and init field function
|
2 years ago |
Aimee Reincke
|
76453c39de
|
added initiate Field function
|
2 years ago |
Aimee Reincke
|
714e1224bf
|
added print field function
|
2 years ago |
Aimee Reincke
|
b818175f99
|
added print prompt function
|
2 years ago |
Aimee Reincke
|
491c824967
|
added Tic Tac Toe files
|
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 |
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 |
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 |
János
|
0320602a0a
|
Added new variables to character
|
2 years ago |
János
|
f34bfa37ab
|
refactoring: renamed some variables
|
2 years ago |
János
|
198e7b9b29
|
Added Healing to the fight function
|
2 years ago |
János
|
184c41412a
|
Healing is weighted, lesser health more heal
|
2 years ago |
János
|
457e8b5b3c
|
Function to make Enemy Heal
|
2 years ago |