Fix spelling errors
Apply a more consistent formatting style
Refactor the getRandom functions into a service
More refactoring
Add a function to check if the warrior has been defeated
Refactor the warrior factory so it actually makes sense