0
Why does my c++ game gets this bug?
So guys I created this c++ game and this game kinda have a bug here so when ever I attack or heal it should the unknown keyword and gives me 23 hp damage which I had set for using other keywords but it happens all the time when I enter my attack type. Please help me with this 🙏😭🙏 I promise to get those people featured who will help me by fixing this bug. :'( Here it is: https://code.sololearn.com/cczsWlo0yD29/?ref=app
3 Réponses
+ 4
I am not sure if this is what you want.
https://code.sololearn.com/ce3PaagrXSSn/?ref=app
+ 3
Your code said: if(you lost){
"you lost"
}else{
"unknown keyword"
}
+ 2
Thanks for helping me out with this and keeping it private Kevin I will get you featured but what did I do wrong here? I wanna know?