Week 3 - CST 338
Project 1 code review: I didn't receive much feedback on my code. One thing Neng mentioned I could change is implementing attackmodifier() better. I used if-else statements which is not as efficient as using switch statements. Everyone in the team struggles with getting the tests to pass. Joshua mentioned that the way I returned the attackModifier value using a variable is most likely incorrect according to the prompt. This needs to be adjusted. The first two tests that passed were the constructor and getElements tests. From there, we all struggled to find the issue of why the rest of the tests were not passing. The method I struggled with the most was attackModifier mainly because I was unsure on what to do in the instance that a monster had more than one type. My biggest victory during this assignment was having the feeling of "I know exactly what to do to implement this method." I felt that I struggled more with the Markov assignmen...