Insults.java adds more fun dialogue to the game but it's not to incorporated it into the Man class yet, the easiest way to do that would be to add a new attack called insult and use the isScared within isInjured in a similar way to how roar is used. Maybe have the one being insulted respond by laughing with a weak insult, or with a mean one saying "well that's mean, but your insults won't stop me", but set isScared true with awesomeInsults and maybe say, "Wow, I don't know what to say!" or something funnier.
Super easy for new coders. In the interest of learning please also read through the core java files to try to understand how things work... they are in the src/main/java/com/crystal folder... it makes it more fun when you know how things work. Then add a new insult to one of the three categories of weak, mean or awesome insults.
So I thought it might be fun to give fighters the ability to summon a monster. The way I envision this is:
fighter summons monster
other fighter is asked: Do you want to summon a monster too or try and take on this monster on your own?
If they summon a monster the two monsters go head to head and one wins which then attacks a random limb on the character before leaving.
If they don't they can attack the monster and it's randomly decided if they frighten off the monster or the monster attacks a random limb.
There is already a Monster.java file that will help with implementing this idea. If you want to implement this or a part of it please claim in comments and I'll assign you.
This is a simple text based java game I made. I thought it would be fun to let any other beginners who have been learning java contribute to it for Hacktoberfest... this will be my first year participating too.
Possible Improvements:
Add documentation
Add a monster class
Add more fight moves
incorporate the random class
Add insult method that throws out random insults and causes hurt feelings.
So opened this project up for Hacktoberfest, and I've gotten lots of contributors and it's great and fun, but I've discovered that I have no idea about merge conflicts.
I know what they are, but I've been using github in the browser and with github desktop and I'm not sure about how to resolve them using github desktop and I have git bash on my computer but I've barely touched it so it's a bit intimidating to use.
I use intellij for the java programming course I've been using and I know there's a tool in it that allows me to compare files in it, can I use that to resolve the conflicts before pushing to github from github desktop?
I'd like to fix this issue and make it so that the program doesn't crash if someone accidentally types in their name (which happened to me while working on it)
I started a branch with Insults.java that adds more fun dialogue to the game but I haven't tried to incorporate it into the Man class yet, the easiest way to do that would be to add a new attack called insult and use the isScared within isInjured in a similar way to how roar is used. Maybe have the one being insulted respond by laughing with a weak insult, or with a mean one saying "well that's mean, but your insults won't stop me", but set isScared true with awesomeInsults and maybe say, "Wow, I don't know what to say!" or something funnier.
For beginners looking for a safe way to contribute adding more insults is easy.